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:
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.py21
1 files changed, 21 insertions, 0 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 4529c127839..83c27c1ccfc 100644
--- a/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
+++ b/release/scripts/startup/bl_ui/properties_grease_pencil_common.py
@@ -1155,3 +1155,24 @@ class GreasePencilToolsPanel:
layout.separator()
gpencil_stroke_placement_settings(context, layout)
+
+
+classes = (
+ GPENCIL_MT_brush_specials,
+ GPENCIL_MT_gpencil_edit_specials,
+ GPENCIL_MT_layer_specials,
+ GPENCIL_MT_palettecolor_specials,
+ GPENCIL_MT_snap,
+ GPENCIL_PIE_sculpt,
+ GPENCIL_PIE_settings_palette,
+ GPENCIL_PIE_tool_palette,
+ GPENCIL_PIE_tools_more,
+ GPENCIL_UL_brush,
+ GPENCIL_UL_layer,
+ GPENCIL_UL_palettecolor,
+)
+
+if __name__ == "__main__": # only for live edit.
+ from bpy.utils import register_class
+ for cls in classes:
+ register_class(cls)