Blender Git Loki

Git Commits -> Revision 092bd9f

Revision 092bd9f by Dalai Felinto (master)
May 6, 2010, 12:01 (GMT)
Logic UI: actuators - action+rna 100%, sound 100%, constraint+rna 50%

Notes:
1) I had to pass Context to the draw_actuator_sound in order to access the open_sound_operator
uiTemplateID(layout, C, ptr, "sound", NULL, "SOUND_OT_open", NULL);
According to Campbell they are better ways to do that (mdef bind for reference). but for now it works.

2) for the record: action actuator is equal to shape actuator (but runs in armature)

3) in Constraint Actuator I think I should unify all the limit_loc_max_, loc_min, ... properties. I was thinking about replacing it with a single limit_loc_max, limit_loc_min, range, distance, and use get/set funcs to find the correct one.

Commit Details:

Full Hash: 092bd9f300d39ae3df353b41dc27ff059ae9b4eb
SVN Revision: 28615
Parent Commit: cbf7d50
Lines Changed: +493, -26

3 Modified Paths:

/source/blender/editors/space_logic/logic_window.c (+147, -6) (Diff)
/source/blender/makesdna/DNA_actuator_types.h (+1, -0) (Diff)
/source/blender/makesrna/intern/rna_actuator.c (+345, -20) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021