Blender Git Loki

Git Commits -> Revision 04b4ec7

Revision 04b4ec7 by Philipp Oeser (master)
November 9, 2021, 09:19 (GMT)
Fix T92318: adding layers (UVs, ...) doesn't notify about limit

When adding certain customdata layers (namely UVs, vertex colors and
sculpt vertex colors), the user does not get notified the specific limit
has been hit (blender just silently does nothing).

Now inform the user [decided to not do this in poll() since it could get
messy once operators are extended to operate on all selected objects, so
left this as a visible error in execute() -- or from python].

Maniphest Tasks: T92318

Differential Revision: https://developer.blender.org/D13147

Commit Details:

Full Hash: 04b4ec78898b53dab7ad898736a883353a3eaaed
Parent Commit: 486d1e8
Lines Changed: +45, -21

5 Modified Paths:

/source/blender/editors/include/ED_mesh.h (+6, -3) (Diff)
/source/blender/editors/mesh/mesh_data.c (+22, -11) (Diff)
/source/blender/editors/physics/dynamicpaint_ops.c (+1, -1) (Diff)
/source/blender/editors/uvedit/uvedit_unwrap_ops.c (+1, -1) (Diff)
/source/blender/makesrna/intern/rna_mesh.c (+15, -5) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021