fix [#26754] Live Edit and Editing UI scripts don't work
[blender-staging.git] / release / scripts / startup / bl_ui / properties_texture.py
index f6fa86d64aa6fd010284f98847941a7409456ee0..32d59132a115a22bc424eeaa3ceba68543d10424 100644 (file)
@@ -1028,3 +1028,6 @@ class TEXTURE_PT_custom_props(TextureButtonsPanel, PropertyPanel, bpy.types.Pane
     COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
     _context_path = "texture"
     _property_type = bpy.types.Texture
+
+if __name__ == "__main__":  # only for live edit.
+    bpy.utils.register_module(__name__)