Blender Git Loki

Git Commits -> Revision fae8dc5

Revision fae8dc5 by Ton Roosendaal (master)
December 21, 2010, 15:10 (GMT)
Error/Warning report flipping.

An operator Error throws up a menu, a Warning only a flashy header print.
In mesh editmode the menus for simple failures got very annoying, like
"Already a face" for Fkey on a face.

Proposal is to use warning for contextual failures, like:
- wrong selection
- unsupported combination
- wrong modes

And use errors for cases you really need user attention, for example when
issues are invisble or potentially damaging work.
- Memory failures
- Files not found

List can grow in future :) let's test this for mesh now.
I'll tackle this for other ops later after review.

(Also changed: loopcut disabled when editmode shows deformed result)

Commit Details:

Full Hash: fae8dc5a735d6e47d96d5757fbc51a33b45a4cea
SVN Revision: 33837
Parent Commit: b0f87a1
Lines Changed: +63, -54

7 Modified Paths:

/source/blender/blenkernel/intern/modifier.c (+2, -1) (Diff)
/source/blender/editors/mesh/editmesh_add.c (+7, -7) (Diff)
/source/blender/editors/mesh/editmesh_mods.c (+13, -13) (Diff)
/source/blender/editors/mesh/editmesh_tools.c (+18, -18) (Diff)
/source/blender/editors/mesh/loopcut.c (+10, -2) (Diff)
/source/blender/editors/mesh/meshtools.c (+7, -7) (Diff)
/source/blender/editors/space_node/node_edit.c (+6, -6) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021