Blender Git Loki

Git Commits -> Revision 0294327

Revision 0294327 by Julian Eisel (master)
February 17, 2015, 02:26 (GMT)
Hide 3D Cursor in Paint Modes (with exceptions)

= Hide 3D Cursor in Paint Modes (with exceptions)

In paint modes, the 3D Cursor mostly is rather useless so it's more annoying than useful. This patch aims to hide the cursor in cases it's not used.

Included exceptions (cases where cursor is drawn in paint modes):
* Active object is in weight paint mode and a selected bone in pose mode can be found
* Clone brush (only if //Clone from paint slot// is disabled)

There might be more exceptions where the cursor should be shown in paint modes, but those are all I could find for now. Feel free to hint me for more.

Note: After D1110 was rejected, Campbell and me discussed this a bit more on IRC and agreed that this behaviour might be a good solution.

Reviewers: psy-fi, campbellbarton

Reviewed By: psy-fi, campbellbarton

Projects: #user_interface

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

Commit Details:

Full Hash: 0294327615bb14655b03e0d9f0e0ce6e28ff2e7c
Parent Commit: 4bb331d
Lines Changed: +46, -5

3 Modified Paths:

/source/blender/editors/space_view3d/space_view3d.c (+9, -2) (Diff)
/source/blender/editors/space_view3d/view3d_draw.c (+35, -1) (Diff)
/source/blender/makesrna/intern/rna_sculpt_paint.c (+2, -2) (Diff)
Tehnyt: Miika HämäläinenViimeksi päivitetty: 07.11.2014 14:18MiikaH:n Sivut a.k.a. MiikaHweb | 2003-2021