Age | Commit message (Collapse) | Author |
|
|
|
|
|
removal of x5 hardcoded size multiplier
|
|
Issue was caused by some objects being in bMain and tagged
for update but not being in the DAG. This means objects
wouldn't be updated and their recalc flag remains untouched
triggering threaded for the next frame.
Solved by tweaking POST_UPDATE_HANDLER_WORKAROUND in the way
that it checks objects' recalc flags from the DAG, not from
the bMain. This will work a bit longer since DAG stored more
nodes than objects in the scene, but this code only runs in
cases when there're some objects tagged for update, which
keeps overall CPU usage on such a workaround pretty low.
Now CPU usage on 11a_comp scene from project Pampa went down
from ~15% down to ~5% (2,69 release uses ~%7).
Pointed by Thomas Dinges in IRC.
|
|
It was wrong memory access in selection operators when point doesn't
have keys.
|
|
Need to reset cached KD tree when duplicating particle system.
|
|
compile with those enabled.
|
|
This is to try to avoid some confusion now that the separate text fields are gone.
Reviewed By: billrey, brecht
Differential Revision: https://developer.blender.org/D217
|
|
Previously this only worked for some datablocks relevant to rendering, now it
can be used to detect if any type of datablock was added or removed (but not
yet to detect if it was modified, we need many more depsgraph tags for that).
Most of the changes are some function parameter changes, the important parts
are the DAG_id_type_tag calls.
Reviewed By: sergey, brecht
Differential Revision: https://developer.blender.org/D195
|
|
allowed.
|
|
Was a regression since e618d8238e0e and was caused by the wrong
main being tagged for update.
|
|
Pointed by Bastien!
|
|
Because of the issue of how simplification works, there could
be more flags in on->recalc bitfield which are ignored by object
anyway.
Would save some update calls after simplificating the scene.
|
|
It was actually rather simple to make sure depsgraph is up to date
before calling BKE_object_handle_update() in the transform code by
just moving DAG_scene_relations_update() to the beginning of the
function.
Wouldn't expect any side effects for other cases since DAG is not
used bu the code between new location of the call and old one.
|
|
Issue is caused by the evaluation flags getter called with
NULL depsgraph. It happens on direct object update from the
transform code after duplicating the curve.
Proper solution is probably to make sure depsgraph is rebuild
after duplication, but for now it's better to prevent crashes.
|
|
Issue was caused by evaluation flags getter function polluting
the DAG. Need to use dag_find_node() instead.
Still need to doublecheck exporting objects with curve deform
works properly. On the first thought it should, but might be
wrong again.
|
|
|
|
From D193 by Ron Davis with some edits.
|
|
|
|
Make sure pointcache step is set to 1 for cloth when copying objects.
|
|
|
|
|
|
also increase precision of rctf print functions
|
|
|
|
|
|
gpf->framenum is an int, not a float. Hence, this type of rounding has no effect.
|
|
|
|
|
|
|
|
We had several reports where users would create rigid bodies by accident
and then wonder why transformations behave differently.
Since these actions aren't used that often, just remove the shortcuts.
|
|
|
|
|
|
|
|
|
|
Big thanks to Gaia for getting this working!
|
|
|
|
|
|
|
|
|
|
|
|
patch suggested by Séverin Lemaignan (skadge)
|
|
The clamp code is still very crude and over-conservative,
but was totally wrong for the percent amount type.
|
|
This adds to the modifier the new controls that have been
added to the bevel tool.
|
|
patch (with changes from me) by Séverin Lemaignan (skadge)
|
|
Would use the face winding from the previously drawn mesh
|
|
Wasn't working because of editmode override (which uses regular object selection in editmode)
|
|
Issue was caused by KD tree being allocated with the wrong size.
|
|
Makes sure we're not trying to insert more nodes than we've
been expecting to.
|
|
|
|
|