Commit: bfa1e0e39bf581fd8229a7c29c398dbc8e4083df
Author: Nicholas Bishop
Date: Mon Jan 26 15:34:14 2015 +0100
Branches: cycles-ptex-19
https://developer.blender.org/rBbfa1e0e39bf581fd8229a7c29c398dbc8e4083df
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 03ae9ad..0d957cc 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"
_______________________________________________
Bf-blender-cvs mailing list
[email protected]
http://lists.blender.org/mailman/listinfo/bf-blender-cvs