diff options
author | Lukas Tönne <lukas.toenne@gmail.com> | 2016-04-28 19:38:10 +0300 |
---|---|---|
committer | Lukas Tönne <lukas.toenne@gmail.com> | 2016-04-28 19:38:10 +0300 |
commit | c3863650cca233ec3a46d2da1584d402aa8c52e6 (patch) | |
tree | 70fac236a3ee1c6ead7e7d2e9828305a8e1efb4b /release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py | |
parent | 1f723603c882e6d79ab69bea6e5c034ae21a6ce7 (diff) |
Removed UI for point cache users.
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py')
-rw-r--r-- | release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py | 23 |
1 files changed, 0 insertions, 23 deletions
diff --git a/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py b/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py index 87ec206de08..bba13a90aa2 100644 --- a/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py +++ b/release/scripts/startup/bl_ui/properties_physics_dynamicpaint.py @@ -21,7 +21,6 @@ import bpy from bpy.types import Panel, UIList from bl_ui.properties_physics_common import ( - point_cache_ui, effector_weights_ui, ) @@ -386,28 +385,6 @@ class PHYSICS_PT_dp_effects(PhysicButtonsPanel, Panel): row.prop(surface, "shrink_speed") -class PHYSICS_PT_dp_cache(PhysicButtonsPanel, Panel): - bl_label = "Dynamic Paint Cache" - bl_options = {'DEFAULT_CLOSED'} - - @classmethod - def poll(cls, context): - md = context.dynamic_paint - rd = context.scene.render - return (md and - md.ui_type == 'CANVAS' and - md.canvas_settings and - md.canvas_settings.canvas_surfaces.active and - md.canvas_settings.canvas_surfaces.active.is_cache_user and - (not rd.use_game_engine)) - - def draw(self, context): - surface = context.dynamic_paint.canvas_settings.canvas_surfaces.active - cache = surface.point_cache - - point_cache_ui(self, context, cache, (cache.is_baked is False), 'DYNAMIC_PAINT') - - class PHYSICS_PT_dp_brush_source(PhysicButtonsPanel, Panel): bl_label = "Dynamic Paint Source" |