Age | Commit message (Collapse) | Author |
|
Possible error changing names which are shared between structs.
While the problem doesn't occur at the moment, avoid future problems.
|
|
Use naming conventions from the patch so they match when it's applied.
|
|
Right clicking on a menu item now closes it's sub-menus and opens
the button's context menu.
This is needed for adding them to the quick favourites menu.
Resolves T58729, T61015.
|
|
Tools were relying on gizmos drawing to initialize their gizmos,
now tool gizmos are initialized immediately.
|
|
D4002 by @slumber w/ edits.
Use text colors, blending to background if they don't contrast.
|
|
Also use doxy sections & remove parens from return values.
|
|
|
|
The adjustment phase had broken assumptions after adding miters,
and sent a null problem to eigen. Fixed code to check assumptions.
|
|
|
|
|
|
|
|
We should clamp the result after multiplication.
|
|
Differential Revision: https://developer.blender.org/D4353
|
|
|
|
|
|
|
|
As the fill color alpha is set to zero, it's better keep fill option disabled.
|
|
Also capture event to avoid Move transform.
Note: Now it's using a report message. Maybe this can be removed, but without the message, the event is captured by move transform.
|
|
It's weird to draw in a layer where the stroke cannot be seen or is not saved.
|
|
Am really no a big fan of using macros for that kind of things, but
meh... C solution to do that with functions (using callbacks) is
even worse. :(
|
|
|
|
Previously, the curve self snapping would only snap to points that were
earlier in the curve structure. This was because of a simple coding
snafu of using break when meaning to use continue.
|
|
reading 2.79 .blend
Reviewers: brecht
Maniphest Tasks: T61520
Differential Revision: https://developer.blender.org/D4352
|
|
Selecting object w/ a different mode missed refreshing the screen
areas current tool.
|
|
Was lost on menu reorganization,
minor tweaks to make it match the context menu.
|
|
Also skip mesh recalculation when no hide/reveal is performed.
|
|
This was caused by curves pointing to each other
creating a cyclic dependency.
While the dependency graph detects this, generating a mesh for render
recursively generates data which cashes in this case.
Add in a check to detect cyclic links.
Note, this bug exists in 2.7x too - but only crashes on render
since 2.7x didn't use 'for_render' when converting data.
|
|
These were almost exact duplicates, use one engine for drawing both
kinds of vertex color.
|
|
Black wire can be hard to see against dark blue,
especially when shading is enabled.
Use light grey, matches 2.7x.
|
|
By default wire would z-fight against the surface.
Increase the bias, also don't adjust the 'w' component
since it causes bias that depends on the view direction.
|
|
Assign to local variables when setting up passes,
avoids mix-up between similarly named struct members.
|
|
When vertex/face selection are disabled - show all wire
ignoring selection & hidden state.
|
|
Face selection was added in weight paint mode since 2.7x,
however tools hadn't been updated.
|
|
When a keymap has an error loading, don't make it active
since it will be partially loaded and not usable.
|
|
Minor change from D4342
|
|
This allows secondary keys on tap.
Currently Z-key to toggle wireframe and tilde for navigation.
This is currently experimental, if users like this the preference
can be kept and used where appropriate.
|
|
Add shortcut since this has been removed from the context menu,
now it's in the mesh normals menu which isn't so convenient to access.
Shift-N is already used to recalculate normals,
this fits the convention of Alt removing/reversing.
|
|
|
|
|
|
Must use the right function to get animation updates now.
|
|
|
|
|
|
duplication.
There is no reason not to duplicate Actions too here, especially when
Materials' Actions are pretty much impossible to edit from current UI
(afaik, DopeSheet editor does not has any way to change them?).
|
|
Values outside the 0..1 range produce negative colors, so now clamp to that
range everywhere. Also fixes improper handling of hue > 2.0 in some places.
|
|
The poll was checking things related to all annotations, but now the check must be only for grease pencil objects and 3D view.
|
|
translatable.
That one is utterly ugly fix really, but unfortunately a proper one
would require some changes to our RNA (or more precisely, pyrna) code,
so that when we subscript a dynamically generated RNA collection, the
item is somehow duplicated (and probably 'assigned' to its py object?),
before the temp RNA array memory is freed...
|
|
Probably fix first part of T61446.
|
|
Usual legacy/history crap in NodeTree code... Datablocks's specific
freeing code should never, ever do refcounting management, this is
handled by higher-level code from BKE_library area.
|
|
The row/column major matrix conversion was done twice.
|
|
Nuke away old nodeCopyNode(), much better to use new BKE_node_copy_ex(),
which behaves as expected for the various optional flags that can be passed.
This also removes the need to handle ID refcounting in calling code
(ugly!) and allows us to remove an even uglier name from our codebase! :D
Note that this fixes three related issues actually, that bug was also
affecting copy/paste of nodes, and 'Separate with copy' operator (the
latter being actually fully wrong, since it was not refcounting
anything, not even node->id pointer...).
|