[Bf-blender-cvs] [2ef621d] cycles-ptex-24: Add UI for changing Ptex resolution
Nicholas Bishop
noreply at git.blender.org
Fri Jan 30 18:00:49 CET 2015
Commit: 2ef621dbf95ccb07544b33e3884573adfc015c81
Author: Nicholas Bishop
Date: Mon Jan 26 15:34:14 2015 +0100
Branches: cycles-ptex-24
https://developer.blender.org/rB2ef621dbf95ccb07544b33e3884573adfc015c81
Add UI for changing Ptex resolution
===================================================================
M release/scripts/startup/bl_ui/properties_data_mesh.py
===================================================================
diff --git a/release/scripts/startup/bl_ui/properties_data_mesh.py b/release/scripts/startup/bl_ui/properties_data_mesh.py
index 484f037..0e09c06 100644
--- a/release/scripts/startup/bl_ui/properties_data_mesh.py
+++ b/release/scripts/startup/bl_ui/properties_data_mesh.py
@@ -207,6 +207,11 @@ class DATA_PT_ptex(MeshButtonsPanel, Panel):
col.operator("mesh.ptex_add", icon='ZOOMIN', text="")
col.operator("mesh.ptex_remove", icon='ZOOMOUT', text="")
+ layout.operator("mesh.ptex_res_change",
+ text='Halve Resolution').mode = 'HALVE'
+ layout.operator("mesh.ptex_res_change",
+ text='Double Resolution').mode = 'DOUBLE'
+
class DATA_PT_vertex_groups(MeshButtonsPanel, Panel):
bl_label = "Vertex Groups"
More information about the Bf-blender-cvs
mailing list