Age | Commit message (Collapse) | Author |
|
Prevents clang-format wrapping text before comments.
|
|
Prevents clang-format wrapping text before comments.
|
|
Prevents clang-format wrapping text before comments.
|
|
|
|
|
|
|
|
Useful for calling from lower level code.
|
|
|
|
|
|
Has been disabled for nearly two years now, think we can safely assume
new, quicker code is working properly now. :)
|
|
BKE_id_free(_ex) ones.
|
|
|
|
|
|
Add 'missing' bpy code from BKE_libblock_free_ex(), now both functions
do exactly the same thing, only the later is less flexible (fewer
'exotic' behaviors supported, like handling IDs outside of bmain etc.).
Next step: nuke usages of BKE_libblock_free functions, makes no sense to
have twice the same code around!
|
|
|
|
Regression in 579c01da600dd
Move values_modal_offset use out of applyMouseInput
to resolve order of initialization issue.
|
|
|
|
|
|
|
|
|
|
|
|
The issue is that the edge fix geometry goes on top of the actual drawn
points.
This commit reduce the edge fix size to the strict minimum but does not
get rid of it.
Related to T60139
|
|
|
|
Differential Revision: https://developer.blender.org/D4206
|
|
Before this Blender always needed the Wintab driver. This adds support for the
native pressure API in Windows 8+, making it possible to get pressure sensitivity
on e.g. Microsoft Surface hardware without any extra drivers.
By default Blender will automatically use Wintab if available, and if not use
Windows Ink instead. There is also a new user preference to explicitly specify
which API to use if automatic detection fails.
Fixes T57869: no pressure sensitivity with Surface pen or laptop.
Code by Christopher Peerman with some tweaks by Brecht Van Lommel.
Differential Revision: https://developer.blender.org/D4165
|
|
Was caused by a missing vbo attachement.
Also fix said Vbo refreshing when selecting.
|
|
Base outline is 2px wide (because of how we detect them).
And since inflating this outline will only produce outlines that are 2*x
thick we map the UI scalling and the outline width setting to the closest
match.
Do note that thicker outlines have a performance cost since they need more
texture fetches and passes.
This fixes T60252 3D View Outline Width not working
|
|
|
|
This was caused by wires not having alpha by default, making them disapear
with MSAA.
|
|
Differential Revision: https://developer.blender.org/D4020
|
|
The existing Add and Multiply blending modes have limited usability,
because the appropriate operation for meaningfully combining values
depends on the channel. This adds a new mode that chooses the operation
automatically based on property settings:
- Axis+Angle channels are summed, effectively averaging the
axis, but adding up the angle. Default is forced to 0.
- Quaternion channels use quaternion multiplication:
result = prev * value ^ influence
- Scale-like multiplicative channels use multiplication:
result = prev * (value / default) ^ influence
- Other channels use addition:
result = prev + (value - default) * influence
Inclusion of default in the computation ensures that combining
keyframed default values of properties keeps the default state,
even if the default isn't 0 or 1.
Strips with this mode can be keyframed normally in Tweak mode,
except that for quaternion rotation keyframing always inserts
all 4 channels, and the channel value sliders on the left side
of Graph/Action editors won't insert keys without Auto Key.
Quaternion keys are also automatically normalized.
Differential Revision: https://developer.blender.org/D4190
|
|
Supporting a strip blending type that treats quaternions as a unit
also means being able to adjust all sub-channels as a unit when
inserting keyframes. This requires refactoring keyframe insertion
code to retrieve array property values for all channels at once,
before iterating over the indices being inserted.
|
|
Set outline contrast back to 2.7 values.
|
|
Differential Revision: https://developer.blender.org/D4183
|
|
The contents is now properly centered at all zoom levels.
Differential Revision: https://developer.blender.org/D4176
|
|
Differential Revision: https://developer.blender.org/D4202
|
|
|
|
double free
|
|
|
|
D4198 by @charlie w/ edits.
|
|
|
|
Allows users to select a font for text strips in the video sequence editor.
Related: 3610f1fc43d0 Sequencer: refactor clipboard copy to no longer increase user count.
Reviewed by: Brecht
Differential Revision: https://developer.blender.org/D3621
|
|
Reviewed by: Brecht
Differential Revision: https://developer.blender.org/D4200
|
|
ImBuf was freed prior to drawing metadata.
Reviewed by: Brecht
Differential Revision: https://developer.blender.org/D4170
|
|
Reviewed by: Brecht
Differential revision: https://developer.blender.org/D4136
|
|
For clang-format not to wrap definitions.
|
|
For clang-format not to wrap definitions.
|
|
For clang-format not to wrap definitions.
|
|
|
|
D3869 by @lichtwerk w/ own edits
|