Age | Commit message (Collapse) | Author |
|
|
|
|
|
|
|
Before the primitives were closed only with cyclic flag, but this doesn't create geometry for the gap. Now, a new geometry is created using close stroke function to have geometry for sculpt or edit.
|
|
This avoid some code that can delay the easer, but still some problems with the test file.
Related to T66501
|
|
This can be useful for filtering some of the returns.
|
|
instancing.
Preserving/rebuilding relashionships in recursive instancing was simply
not supported at all, code handling that was assuming a single level of
instancing.
This commit makes the following changes:
* Mixing DupliCollection and DupliVerts/Faces in the recursive chain is
now supported (by using a same GHash in all cases, differences of
persistent_id handling in hashing and comparison is now down inside the
relevant functions).
* When both "keep hierarchy" and "parent" options are enabled, code will
attempt to parent new objects to their version of instancer (instead of
parenting them systematically to the root object). This will preserve
the hierarchy much better.
* Collection is removed from dupli empties that have been made 'real'
(the duplication flag itself was already cleared, but the link to the
instantiated collection was kept).
|
|
|
|
duplitype
|
|
with modifiers
|
|
|
|
Use more granular dependency graph traversal, which allows to ignore
dependencies which are not related on transform.
Reviewers: mano-wii, brecht
Differential Revision: https://developer.blender.org/D5184
|
|
For bone owners we want to do this in evaluated domain since
BKE_pose_where_is() / BKE_pose_where_is_bone() rely on (re)evaluating
parts of the scene and copying new evaluated stuff back to original.
Fixes T66080, T66397
Reviewers: sergey
Maniphest Tasks: T66080
Differential Revision: https://developer.blender.org/D5189
|
|
Support other options when using the enumerate option.
|
|
Differential Revision: https://developer.blender.org/D5104
|
|
Differential Revision: https://developer.blender.org/D5086
|
|
|
|
|
|
|
|
Changing the brush size for example,
was adding redundant undo steps in paint-modes.
For now, don't store undo steps for property changes
in paint & edit modes.
While not ideal, this is similar to 2.7x behavior.
|
|
Now it works again like 2.7, rather than objects disappearing from camera
rays when both options are on.
|
|
Reviewers: brecht
Maniphest Tasks: T64253
Differential Revision: https://developer.blender.org/D4959
|
|
slow poll was altered in rBc252fe7a32ab after recent fix, now be a bit
more specific about meshes only.
Reviewers: brecht
Maniphest Tasks: T66433
Differential Revision: https://developer.blender.org/D5185
|
|
Make sure particle system edit never points to a modifier or particle system
which becomes inactive.
This is needed because copy-on-write will change pointers of them and those
pointers are supposed to be restored from particle system evaluation. But
since the particle system is disabled it never updates pointers.
Reviewers: brecht
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5180
|
|
panel
Reviewers: brecht
Maniphest Tasks: T66414
Differential Revision: https://developer.blender.org/D5181
|
|
|
|
From fix for T66311, c6a199e2542b4
Poll functions should never loop over entire scene,
in this case behave as other transform operators,
only checking the active screen.
|
|
This was meant to help users see which users are likely useful to add, but
it's not so obvious and there are cases where it's useful to re-append the
same workspace.
|
|
This fixes crashes, wrong names and inability to append workspaces in
edit mode. We now bypass the append operator so we can easily return
a datablock pointer and work in any mode.
|
|
Reviewers: brecht
Maniphest Tasks: T66332
Differential Revision: https://developer.blender.org/D5177
|
|
could happen when used on multiple objects with multi edit, and skin
modifier was not present on all participating objects
Reviewers: brecht
Maniphest Tasks: T66311
Differential Revision: https://developer.blender.org/D5165
|
|
|
|
CDData checking on file load was not taking into account deprecated
CD_MTEXPOLY datatype, which unfortunately shows same weird glitch as
CD_PAINT_MASK and CD_FACEMAP ones...
Note that it was annoying (due to amount of warnings in console), but
totally harmless, since that data type is just deleted anyway.
This commit also generally cleans up the CD_MTEXPOLY deprecation code, we
have a system to handle that, let's use it, instead of defining local
static values to replace it...
|
|
|
|
When we create the cage procedurally, we need to remove any edge split
modifiers. Since the new depsgraph in 2.80 we were removing the
modifiers straight from the evaluated object (it is a copy anyways).
On top of that we need to reset its eval data state (BKE_object_eval_reset)
to make sure the call to BKE_object_to_mesh to generate the cage would take the
new modifier stack state into account.
However doing so was freeing the low poly mesh we use later to convert
the normal space.
The solution (and this patch in fact ;) ) as suggested by Sergey Sharybin is to
use BKE_mesh_new_from_object() directly as well as force the modifiers to be
recalculated when any edge split modifier is removed.
|
|
Side minor fix found while checking on T66235.
|
|
|
|
Popovers created from `UILayout.prop_with_popover` opening on mouse-over.
|
|
This was caused by wrong pixsize calculation during selection.
Note that this was affecting selectability of lamps too.
|
|
Make the fit background relative to the UI scale.
Reviewed By: brecht
Differential Revision: https://developer.blender.org/D5150
|
|
|
|
|
|
|
|
|
|
|
|
The scale gizmo wasn't working usefully for uniform scale.
|
|
Needed for changes to the scale gizmo.
|
|
This reverts commit 741967079c393a9eb6babd60c92a716fafa5d3e9.
We are in UI and API freeze, and this changes both.
|
|
It was very hard to read the sliders when they had states such as animated or changed.
Slightly increase contrast to alleviate this.
|
|
Reviewers: brecht
Maniphest Tasks: T66277
Differential Revision: https://developer.blender.org/D5161
|