ui redraw on UIlist actions and code cleanup
2.0.9 - fix: prefix/suffix UIlist actions trigger UI redraw to see changes live - changed: PropertyGroups are now registered in their own file - code: cleanup
This commit is contained in:
+19
-1
@@ -244,4 +244,22 @@ class GP_PG_namespace_props(PropertyGroup):
|
||||
class GP_PG_namespaces(PropertyGroup):
|
||||
idx : IntProperty(default=-1)
|
||||
|
||||
namespaces : bpy.props.CollectionProperty(type=GP_PG_namespace_props)
|
||||
namespaces : bpy.props.CollectionProperty(type=GP_PG_namespace_props)
|
||||
|
||||
classes = (
|
||||
# Prefix/suiffix prefs prop group
|
||||
GP_PG_namespace_props,
|
||||
GP_PG_namespaces,
|
||||
|
||||
## General toolbox settings
|
||||
GP_PG_FixSettings,
|
||||
GP_PG_ToolsSettings,
|
||||
)
|
||||
|
||||
def register():
|
||||
for cls in classes:
|
||||
bpy.utils.register_class(cls)
|
||||
|
||||
def unregister():
|
||||
for cls in reversed(classes):
|
||||
bpy.utils.unregister_class(cls)
|
||||
Reference in New Issue
Block a user