Age | Commit message (Collapse) | Author |
|
Was giving errors on each access.
|
|
Accessing from the tool and keyboard had different defaults,
disable by default for both.
|
|
|
|
|
|
This was listed under the armature task yet it is used for meshes too.
Also make sure all the UI names are capitalized (normal > Normal).
|
|
And final one as well.
|
|
|
|
Also added epsilon into the mix.
|
|
Also added epsilon into the mix.
|
|
This includes all the modes that don't need multi-object support:
* SIMEDBONE_CHILDREN
* SIMEDBONE_CHILDREN_IMMEDIATE
* SIMEDBONE_SIBLINGS
* SIMEDBONE_GROUP
* SIMEDBONE_SHAPE
Unlike the mesh select similar operator, in this case we take
only the active bone in consideration, not all the selected ones.
I decided not to change that, and keep this 2.79 behaviour.
We could though if we want to.
|
|
|
|
|
|
It was not taking duplicated objects into consideration, so the operator would
only work if you had an off number of objects with the same armature.
|
|
|
|
Looks like new depsgraph may initialize some IK trees, without ever
executing them (which also frees them with legacy IKSolver code)...
|
|
evaluated or original data-block.
Since RNA depagraph API mostly returns evaluated data, it is mandatory
to have access to original datablocks now...
|
|
COW data.
It is crucial that scripts do not write, and even more importantly, do
not store any references to those. Otherwise, that’s a rather straight
path to crash.
|
|
After rB3da46a8d8df2 the vertex color shader can't draw the raw
weight data produced by DRW_cache_mesh_surface_weights_get.
|
|
This is quite an obscure option only useful in rare cases,
when enabled by accident it's confusing since single objects
can't be transformed.
Also, w/ 2.8x you don't see the option change in the header.
|
|
The problem with previous fix was that only the original pixels were blurred, but the surrounding pixels no.
|
|
The normal and xyz no longer overlap so can be the same size.
|
|
|
|
The z-depth must not be blurred, but use the original value.
|
|
|
|
|
|
Having this setting here wasn't correct (the operator ignores it).
|
|
This allows gizmo groups to store properties in the tool.
This makes sense for gizmo options which only control gizmo display and
don't control operator execution.
Unlike similar kinds of properties,
this isn't accessible via the gizmo-group-type instance.
For now the it's only stored in the workspace tool as can be done for
operator properties, so each instance doesn't have different settings
which would be confusing from a user perspective and complicate access
from the top-bar.
Later we could add gizmo-group properties if needed.
|
|
Prepare for storing different kinds of properties in tools.
|
|
|
|
|
|
|
|
Regression from 5d628c519
|
|
The user has to be encouraged to use the `program_set` or `program_set_builtin` before drawing.
This avoids problem with gl_context.
|
|
|
|
|
|
|
|
|
|
This will look a bit better once the icon outline is gone.
|
|
|
|
The shadow needed a blur to make soft transitions and get a better effect.
|
|
Follows the same as other selected/active items in the UI.
Tested in Default theme, 2.7x, 2.4x, Flatty Light and Amaranth
all seem to work fine.
|
|
All that was needed is a VAO refresh. It's not a performance problem
because it only concerns a handful of batches.
|
|
Currently it's not showing the subdivided mesh (if there is a subdiv mod)
and there is some sync issue if there is multiple uv image space opened.
But thoses will be tackled later on. The purpose of this commit is to fix
the overflow issue of IMM and speed issue.
|
|
|
|
NOTE: This commit only concern edit UVs and not the "shadow" mesh displayed
when texture painting. This will be address in a future commit.
We now cache the uv mesh in the mesh batch cache and only reupload data on
changes.
Update could be more granular (and a bit faster) but it's not our main
concern ATM.
This should fix problem caused by the IMM api used to draw large meshes.
This makes performance skyrocket compared to previous implementation.
There is still a big CPU bottleneck when not in sync selection mode but it
is not related to the drawing function directly.
|
|
|
|
Allow raycasting in two directions and culling front or back faces.
Also implement a new Invert Cull option in both constraint and
modifier that can be used to aim for faces aligned with the project
axis direction when raycasting both ways.
Reviewers: mont29
Differential Revision: https://developer.blender.org/D3737
|
|
|
|
The new weight paint drawing code converts weight to color
directly in the shader, so the old CD_PREVIEW_MLOOPCOL based
code is not needed anymore.
|
|
When moving panels from the toolbar to the sidebar,
'bl_context' is now used for filtering panels in both places.
|