Blender Git Loki

Git Commits -> Revision da17657

Revision da17657 by Campbell Barton (master)
November 2, 2009, 11:14 (GMT)
many operators uses Bases, for the python to set operators context python too needs to be able to access bases.
- added scene.bases (like scene.objects)
- renamed group create operator.

Example
scene = bpy.data.scenes[0]
C = {}
C["scene"] = scene
C["selected_editable_bases"] = [scene.bases[2], scene.bases[3]]

bpy.ops.group.create(C)


Also made operator fake modules not return __call__ (reported by Stani, fixes autocomp. bug)

Commit Details:

Full Hash: da1765765baf3bc84059548a43beec0c3a1c2d41
SVN Revision: 24236
Parent Commit: da6081f
Lines Changed: +114, -26

6 Modified Paths:

/release/scripts/modules/bpy_ops.py (+2, -0) (Diff)
/source/blender/editors/object/object_group.c (+7, -7) (Diff)
/source/blender/editors/object/object_intern.h (+1, -1) (Diff)
/source/blender/editors/object/object_ops.c (+2, -2) (Diff)
/source/blender/makesrna/intern/rna_object.c (+97, -16) (Diff)
/source/blender/makesrna/intern/rna_scene.c (+5, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021