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:
authorWilliam Reynish <billrey@me.com>2019-03-07 16:56:31 +0300
committerWilliam Reynish <billrey@me.com>2019-03-07 16:57:21 +0300
commit6837474ae89ef20f624caa7da3e5588521d7b568 (patch)
treee6f6e2ce47f4c86e3b42e925b828149ca95e012d /release/scripts/startup/bl_ui/properties_grease_pencil_common.py
parent90f4ff95ed3a08047cac7eed0119424d14cb82ba (diff)
UI: Use sub-panels inside Grease Pencil Onion Skinning panel
Reviewers: Antonio Vazquez (antoniov) Differential Revision: D4465
Diffstat (limited to 'release/scripts/startup/bl_ui/properties_grease_pencil_common.py')
-rw-r--r--release/scripts/startup/bl_ui/properties_grease_pencil_common.py35
1 files changed, 0 insertions, 35 deletions
diff --git a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
index dd96df2ea65..82677192590 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -814,41 +814,6 @@ class AnnotationOnionSkin:
row.prop(gpl, "annotation_onion_after_color", text="")
sub.prop(gpl, "annotation_onion_after_range", text="After")
-
-class GreasePencilOnionPanel:
- @staticmethod
- def draw_settings(layout, gp):
- col = layout.column()
- col.prop(gp, "onion_mode")
- col.prop(gp, "onion_factor", text="Opacity", slider=True)
-
- if gp.onion_mode == 'ABSOLUTE':
- col = layout.column(align=True)
- col.prop(gp, "ghost_before_range", text="Frames Before")
- col.prop(gp, "ghost_after_range", text="Frames After")
- if gp.onion_mode == 'RELATIVE':
- col = layout.column(align=True)
- col.prop(gp, "ghost_before_range", text="Keyframes Before")
- col.prop(gp, "ghost_after_range", text="Keyframes After")
-
- layout.prop(gp, "use_ghost_custom_colors", text="Use Custom Colors")
-
- if gp.use_ghost_custom_colors:
- col = layout.column(align=True)
- col.active = gp.use_ghost_custom_colors
- col.prop(gp, "before_color", text="Color Before")
- col.prop(gp, "after_color", text="After")
-
- layout.prop(gp, "use_ghosts_always", text="View In Render")
-
- col = layout.column(align=True)
- col.prop(gp, "use_onion_fade", text="Fade")
- if hasattr(gp, "use_onion_loop"): # XXX
- sub = layout.column()
- sub.active = gp.onion_mode in ('RELATIVE', 'SELECTED')
- sub.prop(gp, "use_onion_loop", text="Loop")
-
-
class GreasePencilToolsPanel:
# For use in "2D" Editors without their own toolbar
# subclass must set