Blender Git Commit Log
Git Commits -> Revision 9498121
Revision 9498121 by Brecht Van Lommel (master) April 6, 2010, 01:28 (GMT) |
Object API changes so these functions now require a scene as first argument: create_mesh, create_dupli_list, make_display_list and is_visible. This is done in order to make these context independent as the RNA API should be as much as possible, and to fix #21297 and #21719, where there was an assumption from these functions that there is a scene in the context, which does not work for external render engines exporting in a separate thread. Also avoided using context in a number of other functions, ideally only UI/WM type functions should use context. I've updated the scripts in trunk, but the addons and external ones in development will need updates too. |
Commit Details:
Full Hash: 9498121463cd6837620b33d7c367f446cf34049a
SVN Revision: 28024
Parent Commit: b1e5568
Lines Changed: +56, -59
14 Modified Paths:
/release/scripts/io/engine_render_pov.py (+3, -3) (Diff)
/release/scripts/io/export_3ds.py (+6, -5) (Diff)
/release/scripts/io/export_fbx.py (+5, -5) (Diff)
/release/scripts/io/export_mdd.py (+2, -2) (Diff)
/release/scripts/io/export_obj.py (+2, -2) (Diff)
/release/scripts/io/export_ply.py (+1, -1) (Diff)
/release/scripts/io/export_x3d.py (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+2, -4) (Diff)
/source/blender/makesrna/intern/rna_object.c (+2, -4) (Diff)
/source/blender/makesrna/intern/rna_object_api.c (+18, -15) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+2, -4) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_scene_api.c (+1, -2) (Diff)
/release/scripts/io/export_3ds.py (+6, -5) (Diff)
/release/scripts/io/export_fbx.py (+5, -5) (Diff)
/release/scripts/io/export_mdd.py (+2, -2) (Diff)
/release/scripts/io/export_obj.py (+2, -2) (Diff)
/release/scripts/io/export_ply.py (+1, -1) (Diff)
/release/scripts/io/export_x3d.py (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_curve.c (+6, -6) (Diff)
/source/blender/makesrna/intern/rna_fcurve.c (+2, -4) (Diff)
/source/blender/makesrna/intern/rna_object.c (+2, -4) (Diff)
/source/blender/makesrna/intern/rna_object_api.c (+18, -15) (Diff)
/source/blender/makesrna/intern/rna_pose.c (+2, -4) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+3, -3) (Diff)
/source/blender/makesrna/intern/rna_scene_api.c (+1, -2) (Diff)