diff options
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_smoke.py | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_smoke.py b/release/scripts/startup/bl_ui/properties_physics_smoke.py index df03f23a4b5..0374d032141 100644 --- a/release/scripts/startup/bl_ui/properties_physics_smoke.py +++ b/release/scripts/startup/bl_ui/properties_physics_smoke.py @@ -397,6 +397,14 @@ class PHYSICS_PT_smoke_display_settings(PhysicButtonsPanel, Panel): col.prop(domain, "vector_draw_type") col.prop(domain, "vector_scale") + layout.separator() + layout.label(text="Color Mapping:") + layout.prop(domain, "use_color_ramp") + col = layout.column(); + col.enabled = domain.use_color_ramp + col.prop(domain, "coba_field") + col.template_color_ramp(domain, "color_ramp", expand=True) + if __name__ == "__main__": # only for live edit. bpy.utils.register_module(__name__) |