Age | Commit message (Collapse) | Author |
|
Now the masking is sorted in the same order of the layers. The order is recalculated when any layer is created, deleted or moved.
|
|
When delete a layer, all layers using this layer as mask must be updated.
|
|
This was a problem with intensily lit gpencil objects.
|
|
Now viewport and render has the same look and colormanagement applied to it
|
|
|
|
With this commit, masks can be inverted per layer. Inversion means the
mask becomes subtractive instead of additive. The base visibility does not
change depending on the first type (i.e: if ther is nothing in the mask
layer, nothing will be masked regardless of the mask type).
|
|
|
|
|
|
Also removed iinternal property used.
|
|
Conflicts:
source/blender/draw/engines/gpencil/gpencil_engine.h
source/blender/draw/engines/overlay/overlay_extra.c
source/blender/draw/intern/draw_manager_exec.c
|
|
|
|
Reviewed By: brecht sergey jbakker
Differential Revision: http://developer.blender.org/D6729
|
|
Still pending the aspect ratio
|
|
|
|
This is an oversight of a fix for T69834, where I didn't realize the
ED_object_editmode_exit_ex() function is called for all objects as an
opposite of only the ones which were in edit mode.
Seems a simple fix: just move tag into a check that object was in the
edit mode prior to tag.
Differential Revision: https://developer.blender.org/D6808
|
|
|
|
Regression from c30d6571bb477
|
|
This produced errors loading the mask list.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Avoid repeating the fallback return.
|
|
Thanks to @CodyWinch for finding the root cause
|
|
|
|
|
|
|
|
Use a popup since the default action was to do nothing,
the user would always need to access the redo panel.
Resolves T73711.
|
|
While the file in this report had corrupted values,
this is avoidable without adding any extra overhead.
Use unsigned vertex group indices since we don't need negative values,
this is an alternative to checking they aren't negative in many places.
Vertex group values over INT_MAX is still considered invalid,
so any accidental unsigned wrapping won't be silently ignored.
|
|
|
|
|
|
|
|
|
|
It's important to refer to "other selected objects" in this case.
|
|
Previously this silently cleared the view layers active object.
|
|
This system makes it possible to have up to 256 layers in a GPencil Object
that can be used as masks. User can use more than 256 layers and use mask
on them but the masking one must be from one of the first 256.
This commit does not include optimizations.
|
|
object
|
|
This reverts commit 394b48029c5335381f774f83524ad6ee5cb986da.
Leaving this here does not affect performance in any significant way and it may be useful in the future.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D6688
|
|
In some situations the symmetry point may be behind the camera, so the
projection is inverted and it looks wrong. This avoids drawing points in
screen space when they are behind the camera.
Reviewed By: jbakker
Maniphest Tasks: T72690
Differential Revision: https://developer.blender.org/D6487
|
|
This forces the full geometry when that overlay is enabled.
I would rather not support this and leave that bug as a know issues/
limitation because this is terrible for performance and people may not
be aware that by enabling the option they are disabling the
optimization.
Reviewed By: jbakker
Maniphest Tasks: T66349
Differential Revision: https://developer.blender.org/D6552
|
|
|
|
pqrt of T72604.
|
|
Even though we do not have much of those, this might change in the
future, and in any case having specific functions for this ID type in
generic `BKE_lib` area was really confusing.
|
|
Forgot to update those in recent `BKE_lib_` files renames.
|
|
|
|
|
|
Thanks to @dfelinto for spotting this!
|
|
not the textures
The issue here is simple, IMA_SRC_TILED was missing from a check for whether the image should
be saved.
Note that tiled images won't be automatically saved if they have never been saved before.
For single images this is handled by packing them, but packing of tiled images isn't
supported yet.
However, in that case the file closing dialog will at least show a warning now instead of
completely ignoring tiled images.
|