Blender Git Commit Log
Git Commits -> Revision 4612034
Revision 4612034 by Campbell Barton (master) February 10, 2011, 23:48 (GMT) |
patch [#25809] Auto-Registration as utility function. This removes auto-registration, committed by Martin r30961. Realize this is a contentious topic but Brecht and myself both would rather opt-in registration. TODO: - addons need updating. - class list will be modified to use weakrefs (should have been done for existing system too). - will move bpy.types.(un)register functions into bpy.utils.(un)register_class, currently including these functions in a type list is internally ugly, scripts which loop over types also need to check for these. |
Commit Details:
Full Hash: 4612034cf45f2534b01bb038f80b7795e8b8e20d
SVN Revision: 34765
Parent Commit: 46bb564
Lines Changed: +188, -201
62 Modified Paths:
/release/scripts/io/netrender/ui.py (+12, -7) (Diff)
/release/scripts/modules/bpy/utils.py (+40, -21) (Diff)
/release/scripts/modules/bpy_types.py (+11, -63) (Diff)
/release/scripts/op/animsys_update.py (+5, -1) (Diff)
/release/scripts/op/fcurve_euler_filter.py (+2, -3) (Diff)
/release/scripts/op/image.py (+2, -2) (Diff)
/release/scripts/op/mesh.py (+2, -2) (Diff)
/release/scripts/op/nla.py (+2, -4) (Diff)
/release/scripts/op/object.py (+2, -2) (Diff)
/release/scripts/op/object_align.py (+3, -0) (Diff)
/release/scripts/op/object_randomize_transform.py (+3, -0) (Diff)
/release/scripts/op/presets.py (+2, -2) (Diff)
/release/scripts/op/screen_play_rendered_anim.py (+2, -2) (Diff)
/release/scripts/op/sequencer.py (+2, -2) (Diff)
/release/scripts/op/uv.py (+2, -0) (Diff)
/release/scripts/op/uvcalc_follow_active.py (+3, -0) (Diff)
/release/scripts/op/uvcalc_smart_project.py (+2, -0) (Diff)
/release/scripts/op/vertexpaint_dirt.py (+2, -2) (Diff)
/release/scripts/op/wm.py (+2, -2) (Diff)
/release/scripts/ui/properties_animviz.py (+3, -2) (Diff)
/release/scripts/ui/properties_data_armature.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_bone.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_camera.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_curve.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_empty.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_lamp.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_lattice.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_mesh.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_metaball.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_modifier.py (+2, -2) (Diff)
/release/scripts/ui/properties_game.py (+2, -2) (Diff)
/release/scripts/ui/properties_material.py (+2, -2) (Diff)
/release/scripts/ui/properties_object.py (+2, -2) (Diff)
/release/scripts/ui/properties_object_constraint.py (+2, -2) (Diff)
/release/scripts/ui/properties_particle.py (+2, -2) (Diff)
/release/scripts/ui/properties_physics_cloth.py (+2, -2) (Diff)
/release/scripts/ui/properties_physics_common.py (+2, -2) (Diff)
/release/scripts/ui/properties_physics_field.py (+2, -2) (Diff)
/release/scripts/ui/properties_physics_fluid.py (+2, -2) (Diff)
/release/scripts/ui/properties_physics_smoke.py (+2, -2) (Diff)
/release/scripts/ui/properties_physics_softbody.py (+2, -2) (Diff)
/release/scripts/ui/properties_render.py (+2, -2) (Diff)
/release/scripts/ui/properties_scene.py (+2, -2) (Diff)
/release/scripts/ui/properties_texture.py (+2, -2) (Diff)
/release/scripts/ui/properties_world.py (+2, -2) (Diff)
/release/scripts/ui/space_console.py (+2, -2) (Diff)
/release/scripts/ui/space_dopesheet.py (+2, -2) (Diff)
/release/scripts/ui/space_filebrowser.py (+2, -2) (Diff)
/release/scripts/ui/space_graph.py (+2, -2) (Diff)
/release/scripts/ui/space_image.py (+2, -2) (Diff)
/release/scripts/ui/space_info.py (+2, -2) (Diff)
/release/scripts/ui/space_logic.py (+2, -2) (Diff)
/release/scripts/ui/space_nla.py (+2, -2) (Diff)
/release/scripts/ui/space_node.py (+2, -2) (Diff)
/release/scripts/ui/space_outliner.py (+2, -2) (Diff)
/release/scripts/ui/space_sequencer.py (+2, -2) (Diff)
/release/scripts/ui/space_text.py (+2, -2) (Diff)
/release/scripts/ui/space_time.py (+2, -2) (Diff)
/release/scripts/ui/space_userpref.py (+2, -2) (Diff)
/release/scripts/ui/space_userpref_keymap.py (+2, -2) (Diff)
/release/scripts/ui/space_view3d.py (+2, -2) (Diff)
/release/scripts/ui/space_view3d_toolbar.py (+2, -2) (Diff)
/release/scripts/modules/bpy/utils.py (+40, -21) (Diff)
/release/scripts/modules/bpy_types.py (+11, -63) (Diff)
/release/scripts/op/animsys_update.py (+5, -1) (Diff)
/release/scripts/op/fcurve_euler_filter.py (+2, -3) (Diff)
/release/scripts/op/image.py (+2, -2) (Diff)
/release/scripts/op/mesh.py (+2, -2) (Diff)
/release/scripts/op/nla.py (+2, -4) (Diff)
/release/scripts/op/object.py (+2, -2) (Diff)
/release/scripts/op/object_align.py (+3, -0) (Diff)
/release/scripts/op/object_randomize_transform.py (+3, -0) (Diff)
/release/scripts/op/presets.py (+2, -2) (Diff)
/release/scripts/op/screen_play_rendered_anim.py (+2, -2) (Diff)
/release/scripts/op/sequencer.py (+2, -2) (Diff)
/release/scripts/op/uv.py (+2, -0) (Diff)
/release/scripts/op/uvcalc_follow_active.py (+3, -0) (Diff)
/release/scripts/op/uvcalc_smart_project.py (+2, -0) (Diff)
/release/scripts/op/vertexpaint_dirt.py (+2, -2) (Diff)
/release/scripts/op/wm.py (+2, -2) (Diff)
/release/scripts/ui/properties_animviz.py (+3, -2) (Diff)
/release/scripts/ui/properties_data_armature.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_bone.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_camera.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_curve.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_empty.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_lamp.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_lattice.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_mesh.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_metaball.py (+2, -2) (Diff)
/release/scripts/ui/properties_data_modifier.py (+2, -2) (Diff)
/release/scripts/ui/properties_game.py (+2, -2) (Diff)
/release/scripts/ui/properties_material.py (+2, -2) (Diff)
/release/scripts/ui/properties_object.py (+2, -2) (Diff)
/release/scripts/ui/properties_object_constraint.py (+2, -2) (Diff)
/release/scripts/ui/properties_particle.py (+2, -2) (Diff)
/release/scripts/ui/properties_physics_cloth.py (+2, -2) (Diff)
/release/scripts/ui/properties_physics_common.py (+2, -2) (Diff)
/release/scripts/ui/properties_physics_field.py (+2, -2) (Diff)
/release/scripts/ui/properties_physics_fluid.py (+2, -2) (Diff)
/release/scripts/ui/properties_physics_smoke.py (+2, -2) (Diff)
/release/scripts/ui/properties_physics_softbody.py (+2, -2) (Diff)
/release/scripts/ui/properties_render.py (+2, -2) (Diff)
/release/scripts/ui/properties_scene.py (+2, -2) (Diff)
/release/scripts/ui/properties_texture.py (+2, -2) (Diff)
/release/scripts/ui/properties_world.py (+2, -2) (Diff)
/release/scripts/ui/space_console.py (+2, -2) (Diff)
/release/scripts/ui/space_dopesheet.py (+2, -2) (Diff)
/release/scripts/ui/space_filebrowser.py (+2, -2) (Diff)
/release/scripts/ui/space_graph.py (+2, -2) (Diff)
/release/scripts/ui/space_image.py (+2, -2) (Diff)
/release/scripts/ui/space_info.py (+2, -2) (Diff)
/release/scripts/ui/space_logic.py (+2, -2) (Diff)
/release/scripts/ui/space_nla.py (+2, -2) (Diff)
/release/scripts/ui/space_node.py (+2, -2) (Diff)
/release/scripts/ui/space_outliner.py (+2, -2) (Diff)
/release/scripts/ui/space_sequencer.py (+2, -2) (Diff)
/release/scripts/ui/space_text.py (+2, -2) (Diff)
/release/scripts/ui/space_time.py (+2, -2) (Diff)
/release/scripts/ui/space_userpref.py (+2, -2) (Diff)
/release/scripts/ui/space_userpref_keymap.py (+2, -2) (Diff)
/release/scripts/ui/space_view3d.py (+2, -2) (Diff)
/release/scripts/ui/space_view3d_toolbar.py (+2, -2) (Diff)