Blender Git Loki

Git Commits -> Revision ec55cb1

Revision ec55cb1 by Campbell Barton (master)
December 30, 2011, 03:43 (GMT)
while checking weight paint code noticed that unified brush functions loop over the scenes to get the flag.
* this loop is called multiple times per vertex (not addressed in this commit)
* functions like brush_use_size_pressure(), brush_use_size_pressure() called unified_settings() twice when they didnt need to.

looks like this code cant work right with multiple scenes, added a comment on this - but at least avoid calling unified_settings() multiple times in single functions.

Commit Details:

Full Hash: ec55cb11546b8eac461db45994d9d46b150de50d
SVN Revision: 42985
Parent Commit: 8c50700
Lines Changed: +49, -12

1 Modified Path:

/source/blender/blenkernel/intern/brush.c (+49, -12) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021