Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacques Lucke <mail@jlucke.com>2019-02-06 14:05:34 +0300
committerJacques Lucke <mail@jlucke.com>2019-02-06 14:05:34 +0300
commit45478158479d3aa695de9dfafc2fe433d1ae0f51 (patch)
tree0be810545b6b18d0aa73480c465d72647258cd61 /release/scripts/startup/bl_ui/properties_animviz.py
parent6202bc82b858d8f6876c6c20ec62dd0a16209087 (diff)
Cleanup: Remove deprecated ghosting code
Most of this code is deprecated for many years already and does not work at all in Blender 2.8. Reviewers: brecht, aligorith Differential Revision: https://developer.blender.org/D4271
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_animviz.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_animviz.py32
1 files changed, 0 insertions, 32 deletions
diff --git a/release/scripts/startup/bl_ui/properties_animviz.py b/release/scripts/startup/bl_ui/properties_animviz.py
index 9a100a654b1..4ee721b0175 100644
--- a/release/scripts/startup/bl_ui/properties_animviz.py
+++ b/release/scripts/startup/bl_ui/properties_animviz.py
@@ -120,38 +120,6 @@ class MotionPathButtonsPanel_display:
sub.prop(mpath, "color", text="")
-# FIXME: this panel still needs to be ported so that it will work correctly with animviz
-class OnionSkinButtonsPanel:
- bl_space_type = 'PROPERTIES'
- bl_region_type = 'WINDOW'
- bl_label = "Onion Skinning"
- bl_options = {'DEFAULT_CLOSED'}
-
- def draw(self, context):
- layout = self.layout
-
- arm = context.armature
-
- layout.row().prop(arm, "ghost_type", expand=True)
-
- split = layout.split()
-
- col = split.column()
-
- sub = col.column(align=True)
- if arm.ghost_type == 'RANGE':
- sub.prop(arm, "ghost_frame_start", text="Start")
- sub.prop(arm, "ghost_frame_end", text="End")
- sub.prop(arm, "ghost_size", text="Step")
- elif arm.ghost_type == 'CURRENT_FRAME':
- sub.prop(arm, "ghost_step", text="Range")
- sub.prop(arm, "ghost_size", text="Step")
-
- col = split.column()
- col.label(text="Display:")
- col.prop(arm, "show_only_ghost_selected", text="Selected Only")
-
-
classes = (
)