property editor for bone and object ID props, add/remove/edit

good example of how editing NON rna data results in very weired scripts :/
This commit is contained in:
2009-11-16 22:53:28 +00:00
parent 3087da0b25
commit 7636d17af6
4 changed files with 250 additions and 1 deletions

View File

@@ -292,6 +292,17 @@ class OBJECT_PT_animation(ObjectButtonsPanel):
row.itemR(ob, "track_override_parent", text="Override Parent")
row.active = ob.parent != None
class OBJECT_PT_properties(ObjectButtonsPanel):
bl_label = "Properties"
bl_default_closed = True
def draw(self, context):
import rna_prop_ui
# reload(rna_prop_ui)
rna_prop_ui.draw(self.layout, context, "object")
bpy.types.register(OBJECT_PT_context_object)
bpy.types.register(OBJECT_PT_transform)
bpy.types.register(OBJECT_PT_transform_locks)
@@ -300,3 +311,4 @@ bpy.types.register(OBJECT_PT_groups)
bpy.types.register(OBJECT_PT_display)
bpy.types.register(OBJECT_PT_duplication)
bpy.types.register(OBJECT_PT_animation)
bpy.types.register(OBJECT_PT_properties)