Age | Commit message (Collapse) | Author |
|
See: T56648
|
|
See: T56648
|
|
The grid now can be configured by object because this helps to identify objects and allows to define diferent grid parameters for each objects.
Also added a color option.
|
|
The rest shape of B-Bones is actually affected by custom handles or
the default connected parent/child mechanism. Ignoring these effects
thus leads to the edit mode shape being different from the actual
rest pose.
This splits the b_bone_spline_setup function that is used to compute
the correct rest and pose shape from pose channels into two parts,
and applies the data structure independent half to edit mode.
In order to access the custom handle settings in Edit Mode, they are
moved to Bone and EditBone, while the bPoseChannel fields are downgraded
in status to a cache for performance. Also, instead of flags, introduce
an enum to specify the handle operation modes, so that new ones could
be added later.
Reviewers: aligorith, brecht
Differential Revision: https://developer.blender.org/D3588
|
|
Custom handle settings actually affect the B-Bone rest shape,
so they should be changed in Edit mode rather than Pose mode.
This is necessary to be able to display the correct rest shape
of the bone in Edit Mode.
Also, instead of flags, introduce an enum to specify the handle
operation modes, so that new ones could be added later.
Differential Revision: https://developer.blender.org/D3588
|
|
This reverts commit 9d8c05f7ecf6c20d48c3b151653bab5cc1b988aa.
|
|
Reviewers: fclem
Differential Revision: https://developer.blender.org/D3767
|
|
This reverts commit ac0dfcced30a75fed4017c0b5e1dc8600e6f1dd8.
|
|
"shader_code_from_builtin" to "from_builtin" and "code_from_builtin".
|
|
|
|
|
|
|
|
Reviewer: brecht
Differential Revision: https://developer.blender.org/D3765
|
|
Reviewers: brecht
Differential Revision: https://developer.blender.org/D3766
|
|
|
|
|
|
|
|
|
|
Baking
just kill the bake job prior to freeing
Reviewed By: fclem
Differential Revision: https://developer.blender.org/D3764
|
|
|
|
|
|
Only tag UV's as needing an update.
Also correct notifier for region redraw.
|
|
Add BKE_mesh_batch_cache_dirty_tag option for resetting UV's.
|
|
|
|
Non-undo actions would move the redo panel into a different space.
|
|
|
|
Word order was swapped from all other operators.
|
|
Was showing redo panel for cursor & selection operators.
|
|
This isn't valid RST.
|
|
The changes are:
- The shader now is passed as a parameter of the batch `draw` method (batch.draw(shader)). Since the batch always has to set a shader before drawing;
- The batch methods to specify a value to a uniform have been removed. Uniforms are parameters of the program (here called shader). If you change a uniform, it changes in all batchs that use the same program;
- New methods were added to set uniforms by the shader;
- The `batch.program_set_builtin` was removed. It is a duplicate of `program_set` but without a shader object. We need the shader object to configure the uniform;
Differential Revision: https://developer.blender.org/D3752
|
|
Instead of showing the transform handles for all selections,
move this functionality into a tool as done for the 3D view.
|
|
|
|
|
|
|
|
Image toolbar now starts with a single column width
and snaps to button increments.
|
|
Avoid accessing object mode via the view layer active object
when drawing since it's done everywhere we store the active object mode
in the draw-context.
|
|
|
|
|
|
The cursor is used as location to draw new stroke
|
|
The 3D Cursor, origin and dummy are hidden depending of the mode to get a cleaner drawing space.
|
|
|
|
|
|
Now it's possible create rectangular shapes and disable the subdivisions to get only a rectangle
|
|
|
|
|
|
|
|
|
|
The problem is that string width computing is performed in integers
(pixels), which can generate a rather annoying error (a few pixels)...
Simply work around that for now, by trimming an extra middle char when
needed.
|
|
`to_strlen` just benefits from using pre-computed kerning table for
ascii chars (gives about 30% speed improvements).
`to_rstrlen` was re-written and heavily simplified, basically using same
logic as `to_strlen`, and `BLI_str_find_prev_char_utf8()` to loop
backward in the string, instead of looping forwards the whole string,
storing each gliph's width in temp array, and looping backward on that
temp array to find final string matching expected width. Gives about 70%
speed improvements!
And both functions can now share their core logic.
|
|
|