UI: Per-camera composition guide colors
Currently cameras composition guide colors are defined in theme, and not even by an individual property. They follow 3D Viewport -> View Overlay color, which also defines many other things, such as world origin cursor. By default it's black and it's difficult to change, because then other things stand out. But using default black for composition guides is impossible. This PR, instead, adds new Composition Guide Color property on camera, and uses it in camera view. This not only fixes the issue mentioned above, but also allows different cameras in one scene to have different overlay colors. This is very handy when you have, for example, two cameras, one of which looks at the black corner, and another at the lit-up white one. Using a single black or white color in this case makes the other one more difficult to see. Now, each camera can have its own color. This PR only changes color for Composition Guides, and NOT for Safe Areas and sensor. Reasons are: - It's important to differentiate between different concepts, having everything one color is distracting - Safe areas are per-scene and shared with Sequencer preview. The camera shouldn't dictate color there. I have separate plans about handling safe areas in the future. Images in the PR. Pull Request: https://projects.blender.org/blender/blender/pulls/143788
This commit is contained in:
committed by
Nika Kutsniashvili
parent
65f41c4119
commit
3e51b449be
@@ -27,7 +27,7 @@
|
||||
|
||||
/* Blender file format version. */
|
||||
#define BLENDER_FILE_VERSION BLENDER_VERSION
|
||||
#define BLENDER_FILE_SUBVERSION 94
|
||||
#define BLENDER_FILE_SUBVERSION 95
|
||||
|
||||
/* Minimum Blender version that supports reading file written with the current
|
||||
* version. Older Blender versions will test this and cancel loading the file, showing a warning to
|
||||
|
||||
Reference in New Issue
Block a user