Blender Git Loki

Git Commits -> Revision 573678d

Revision 573678d by Campbell Barton (master)
August 16, 2009, 03:40 (GMT)
- replace rna context.mode_string with an enum context.mode, that way its self documenting and is used as a string from py anyway.

- view3d use select menus use the context.mode enum value.

- if selectmenu in dir(bpy.types) # creates a list of 1400+ strings, does a lookup and throws them away, better avoid this for redrawing.

Commit Details:

Full Hash: 573678df48b3c6296a22ba807b507a5421563990
SVN Revision: 22497
Parent Commit: 177956a
Lines Changed: +119, -63

4 Modified Paths:

/release/ui/space_view3d.py (+33, -34) (Diff)
/source/blender/blenkernel/BKE_context.h (+20, -0) (Diff)
/source/blender/blenkernel/intern/context.c (+42, -17) (Diff)
/source/blender/makesrna/intern/rna_context.c (+24, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021