Blender Git Loki

Git Commits -> Revision b4e97c0

Revision b4e97c0 by Geoffrey Bantle (master)
September 28, 2006, 01:55 (GMT)
-> Enter/Exit editmode wait cursor flags

The wait cursor was being called during editmode enter and exit for meshes.
This was a problem for several reasons. First of all, python modules like
Mesh now make use of editmode features. These methods that wrap editmode
tools may be called many times during the execution of a script
and lead to the wait cursor rapidly flickering on and off.

The other problem was that the wait cursor wasn't being called for editmode
enter and exit of all data types. This is unified now.

-New Arguments

enter_editmode() should be passed a nonzero integer or simply EM_WAITCURSOR
if the wait cursor is desired. Currently only the python API passes a '0'
to enter_editmode()

exit_editmode() has several options and they are passed in as the bitflags
EM_FREEDATA, EM_FREEUNDO and EM_WAITCURSOR. These flags are defined in
BDR_editobject.h.

Commit Details:

Full Hash: b4e97c01ff7478cc7fbcbc33d12e37375d28b7aa
SVN Revision: 8558
Parent Commit: d86af04
Lines Changed: +69, -61

18 Modified Paths:

/source/blender/include/BDR_editobject.h (+6, -2) (Diff)
/source/blender/python/api2_2x/Blender.c (+1, -1) (Diff)
/source/blender/python/api2_2x/NMesh.c (+2, -2) (Diff)
/source/blender/python/api2_2x/Object.c (+1, -1) (Diff)
/source/blender/python/api2_2x/Window.c (+2, -2) (Diff)
/source/blender/src/drawscene.c (+1, -1) (Diff)
/source/blender/src/editarmature.c (+2, -2) (Diff)
/source/blender/src/editcurve.c (+2, -2) (Diff)
/source/blender/src/editfont.c (+3, -3) (Diff)
/source/blender/src/editmesh.c (+0, -4) (Diff)
/source/blender/src/editobject.c (+23, -15) (Diff)
/source/blender/src/header_info.c (+1, -1) (Diff)
/source/blender/src/header_view3d.c (+8, -8) (Diff)
/source/blender/src/meshtools.c (+2, -2) (Diff)
/source/blender/src/outliner.c (+8, -8) (Diff)
/source/blender/src/poseobject.c (+1, -1) (Diff)
/source/blender/src/toets.c (+5, -5) (Diff)
/source/blender/src/verse_object.c (+1, -1) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021