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/space_image.py')
-rw-r--r--release/scripts/startup/bl_ui/space_image.py56
1 files changed, 55 insertions, 1 deletions
diff --git a/release/scripts/startup/bl_ui/space_image.py b/release/scripts/startup/bl_ui/space_image.py
index 04b4cef9512..38ec1b7a859 100644
--- a/release/scripts/startup/bl_ui/space_image.py
+++ b/release/scripts/startup/bl_ui/space_image.py
@@ -1242,5 +1242,59 @@ class IMAGE_PT_tools_grease_pencil_brushcurves(GreasePencilBrushCurvesPanel, Pan
bl_space_type = 'IMAGE_EDITOR'
+classes = (
+ IMAGE_HT_header,
+ IMAGE_MT_brush,
+ IMAGE_MT_image,
+ IMAGE_MT_image_invert,
+ IMAGE_MT_select,
+ IMAGE_MT_uvs,
+ IMAGE_MT_uvs_mirror,
+ IMAGE_MT_uvs_proportional,
+ IMAGE_MT_uvs_select_mode,
+ IMAGE_MT_uvs_showhide,
+ IMAGE_MT_uvs_snap,
+ IMAGE_MT_uvs_transform,
+ IMAGE_MT_uvs_weldalign,
+ IMAGE_MT_view,
+ IMAGE_PT_active_mask_point,
+ IMAGE_PT_active_mask_spline,
+ IMAGE_PT_game_properties,
+ IMAGE_PT_grease_pencil,
+ IMAGE_PT_grease_pencil_palettecolor,
+ IMAGE_PT_image_properties,
+ IMAGE_PT_mask,
+ IMAGE_PT_mask_display,
+ IMAGE_PT_mask_layers,
+ IMAGE_PT_paint,
+ IMAGE_PT_paint_curve,
+ IMAGE_PT_paint_stroke,
+ IMAGE_PT_sample_line,
+ IMAGE_PT_scope_sample,
+ IMAGE_PT_tools_brush_appearance,
+ IMAGE_PT_tools_brush_overlay,
+ IMAGE_PT_tools_brush_texture,
+ IMAGE_PT_tools_brush_tool,
+ IMAGE_PT_tools_grease_pencil_brush,
+ IMAGE_PT_tools_grease_pencil_brushcurves,
+ IMAGE_PT_tools_grease_pencil_draw,
+ IMAGE_PT_tools_grease_pencil_edit,
+ IMAGE_PT_tools_grease_pencil_sculpt,
+ IMAGE_PT_tools_imagepaint_symmetry,
+ IMAGE_PT_tools_mask,
+ IMAGE_PT_tools_mask_texture,
+ IMAGE_PT_tools_paint_options,
+ IMAGE_PT_tools_transform_uvs,
+ IMAGE_PT_view_histogram,
+ IMAGE_PT_view_properties,
+ IMAGE_PT_view_vectorscope,
+ IMAGE_PT_view_waveform,
+ IMAGE_UV_sculpt,
+ IMAGE_UV_sculpt_curve,
+ MASK_MT_editor_menus,
+)
+
if __name__ == "__main__": # only for live edit.
- bpy.utils.register_module(__name__)
+ from bpy.utils import register_class
+ for cls in classes:
+ register_class(cls)