diff options
author | Campbell Barton <ideasman42@gmail.com> | 2010-07-23 05:43:30 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2010-07-23 05:43:30 +0400 |
commit | 026ac2492232fac4fb7350ff210ba34b353a84e2 (patch) | |
tree | 0667dafd2dc948c93e6ac7b5be42d80045bd2f6f /release | |
parent | 43d5357a2e0dc2be209bdcbdf63246002dda4a7f (diff) |
[#22488] Reloading scripts causes crash
F8 key enabled again, useful for script UI development.
- keying set freeing wasnt freeing from all scenes and the builtin list.
- PointerProperty() cant refer to a removed python srna type (fixed in rigify and netrender).
- Added a check for freeing a type used by a PointerProperty but its very slow, makes reloading take ~10sec. Only enabled this in debug mode for now.
Netrender register() function isnt re-registering the property, probably because the module is cached by python and not re-run.
Diffstat (limited to 'release')
-rw-r--r-- | release/scripts/io/netrender/__init__.py | 3 | ||||
-rw-r--r-- | release/scripts/ui/properties_data_armature_rigify.py | 1 |
2 files changed, 4 insertions, 0 deletions
diff --git a/release/scripts/io/netrender/__init__.py b/release/scripts/io/netrender/__init__.py index f5f104d6d92..43f3094e628 100644 --- a/release/scripts/io/netrender/__init__.py +++ b/release/scripts/io/netrender/__init__.py @@ -42,6 +42,9 @@ def register(): def unregister(): import bpy + + bpy.types.Scene.RemoveProperty("network_render") + bpy.types.unregister(ui.NetRenderJob) bpy.types.unregister(ui.NetRenderSettings) bpy.types.unregister(ui.NetRenderSlave) diff --git a/release/scripts/ui/properties_data_armature_rigify.py b/release/scripts/ui/properties_data_armature_rigify.py index 43021858f9f..193ff390b1e 100644 --- a/release/scripts/ui/properties_data_armature_rigify.py +++ b/release/scripts/ui/properties_data_armature_rigify.py @@ -360,6 +360,7 @@ def register(): def unregister(): + bpy.types.Scene.RemoveProperty("pose_templates") unregister = bpy.types.unregister for cls in classes: unregister(cls) |