From acadb8c39f83a4b4112c8c77bac1eb39584ad100 Mon Sep 17 00:00:00 2001 From: Brecht Van Lommel Date: Thu, 10 Dec 2009 14:26:06 +0000 Subject: Sculpt Branch: Revised external multires file saving. Now it is more manual in that you have to specify where to save it, like an image file, but still saved at the same time as the .blend. It would ideally be automatic, but this is difficult to implement, so for now this should at least be more reliable. --- release/scripts/ui/properties_data_modifier.py | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) (limited to 'release/scripts/ui/properties_data_modifier.py') diff --git a/release/scripts/ui/properties_data_modifier.py b/release/scripts/ui/properties_data_modifier.py index 8194027bae6..97c8f603273 100644 --- a/release/scripts/ui/properties_data_modifier.py +++ b/release/scripts/ui/properties_data_modifier.py @@ -438,7 +438,6 @@ class DATA_PT_modifiers(DataButtonsPanel): col.prop(md, "levels", text="Preview") col.prop(md, "sculpt_levels", text="Sculpt") col.prop(md, "render_levels", text="Render") - col.prop(md, "optimal_display") if wide_ui: col = split.column() @@ -446,9 +445,20 @@ class DATA_PT_modifiers(DataButtonsPanel): col.enabled = ob.mode != 'EDIT' col.operator("object.multires_subdivide", text="Subdivide") col.operator("object.multires_higher_levels_delete", text="Delete Higher") + col.prop(md, "optimal_display") + + layout.separator() + + col = layout.column() row = col.row() - row.enabled = md.total_levels > 0 - row.prop(md, "external") + if md.external: + row.operator("object.multires_pack_external", text="Pack External") + row.label() + row = col.row() + row.prop(md, "filename", text="") + else: + row.operator("object.multires_save_external", text="Save External...") + row.label() def PARTICLE_INSTANCE(self, layout, ob, md, wide_ui): layout.prop(md, "object") -- cgit v1.2.3