blender/release
Campbell Barton c508e6198a Python can now run operators with their own context (data context).
The aim of this is to avoid having to set the selection each time before running an operator from python.

At the moment this is set as a python dictionary with string keys and rna values... eg.

C = {}
C["active_object"] = bpy.data.objects['SomeOb']
bpy.ops.object.game_property_new(C)

# ofcourse this works too..
bpy.ops.object.game_property_new({"active_object":ob})

# or...
C = {"main":bpy.data, "scene":bpy.data.scenes[0], "active_object":bpy.data.objects['SomeOb'], "selected_editable_objects":list(bpy.data.objects)}
bpy.ops.object.location_apply(C)
2009-10-29 09:25:11 +00:00
..
datafiles Updated icons. Changed some icon names that weren't blank. 2009-10-15 13:47:18 +00:00
freedesktop * blender doesn't need the -w anymore to start in a window 2009-02-28 09:25:42 +00:00
irix-6.2-mips 2.50: svn merge https://svn.blender.org/svnroot/bf-blender/trunk/blender -r19323:HEAD 2009-04-20 15:06:46 +00:00
plugins Patch 17403, small gcc warning fixes. 2008-09-20 12:28:01 +00:00
scripts Python can now run operators with their own context (data context). 2009-10-29 09:25:11 +00:00
test Undo revision 23130 which was a merge with 2.5, a messy one because I did something wrong (svn status output: http://www.pasteall.org/7887). 2009-09-15 18:01:18 +00:00
text Updated python license, this is compatible with current 2.5 and older. 2008-10-11 15:55:22 +00:00
windows Undo revision 23130 which was a merge with 2.5, a messy one because I did something wrong (svn status output: http://www.pasteall.org/7887). 2009-09-15 18:01:18 +00:00
environment-macosx Continue development of bfile system. 2009-10-19 18:44:09 +00:00
environment-mswindows Continue development of bfile system. 2009-10-19 18:44:09 +00:00
environment-unix Continue development of bfile system. 2009-10-19 18:44:09 +00:00
getversion.py Slight improvements in release creation. 2009-04-11 19:04:59 +00:00
Makefile - removed 2.4x release/scripts 2009-09-28 03:19:52 +00:00
VERSION Part 1 of the 2.49b commit 2009-08-31 18:16:18 +00:00