Blender Git Loki

Git Commits -> Revision 0d530c3

Revision 0d530c3 by Sergey Sharybin (master)
August 28, 2010, 07:07 (GMT)
Fix #23363: Layer buttons do not update when last object deleted

This happend because of incorrect order of calculating used layer mask and drawing
header. Added layer content changed notifier to recalc used layers when needed.
This also fixes header redrawing in "Move to layer" operator and when user
changes Object.layers in properties view

Commit Details:

Full Hash: 0d530c3ddbff61ff0b566bc59b0f433961b38937
SVN Revision: 31627
Parent Commit: 5c23537
Lines Changed: +50, -6

7 Modified Paths:

/source/blender/editors/object/object_add.c (+4, -1) (Diff)
/source/blender/editors/object/object_relations.c (+2, -0) (Diff)
/source/blender/editors/space_view3d/space_view3d.c (+37, -0) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+0, -5) (Diff)
/source/blender/editors/util/undo.c (+2, -0) (Diff)
/source/blender/makesrna/intern/rna_object.c (+4, -0) (Diff)
/source/blender/windowmanager/WM_types.h (+1, -0) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021