fix [#26754] Live Edit and Editing UI scripts don't work
[blender-staging.git] / release / scripts / startup / bl_ui / space_image.py
index aaf7336c5c76901ad676348f1f6895b4daa97af3..0bddfa8a694fee07f67da5d7e65cc79c19f2128e 100644 (file)
@@ -751,3 +751,6 @@ class IMAGE_PT_paint_curve(BrushButtonsPanel, bpy.types.Panel):
         row.operator("brush.curve_preset", icon="SHARPCURVE", text="").shape = 'SHARP'
         row.operator("brush.curve_preset", icon="LINCURVE", text="").shape = 'LINE'
         row.operator("brush.curve_preset", icon="NOCURVE", text="").shape = 'MAX'
+
+if __name__ == "__main__":  # only for live edit.
+    bpy.utils.register_module(__name__)