Fix #106043: Don't use offset for free nodes #106050
|
@ -1164,13 +1164,19 @@ void DepsgraphRelationBuilder::build_object_pointcache(Object *object)
|
|||
OperationKey transform_key(
|
||||
&object->id, NodeType::TRANSFORM, OperationCode::TRANSFORM_SIMULATION_INIT);
|
||||
add_relation(point_cache_key, transform_key, "Point Cache -> Rigid Body");
|
||||
/* Manual changes to effectors need to invalidate simulation. */
|
||||
OperationKey rigidbody_rebuild_key(
|
||||
&scene_->id, NodeType::TRANSFORM, OperationCode::RIGIDBODY_REBUILD);
|
||||
add_relation(rigidbody_rebuild_key,
|
||||
point_cache_key,
|
||||
"Rigid Body Rebuild -> Point Cache Reset",
|
||||
RELATION_FLAG_FLUSH_USER_EDIT_ONLY);
|
||||
/* Manual changes to effectors need to invalidate simulation.
|
||||
*
|
||||
* Don't add this relation for the render pipeline dependency graph as it does not contain
|
||||
* rigid body simulation. Good thing is that there are no user edits in such dependency
|
||||
* graph, so the relation is not really needed in it. */
|
||||
if (!graph_->is_render_pipeline_depsgraph) {
|
||||
OperationKey rigidbody_rebuild_key(
|
||||
&scene_->id, NodeType::TRANSFORM, OperationCode::RIGIDBODY_REBUILD);
|
||||
add_relation(rigidbody_rebuild_key,
|
||||
point_cache_key,
|
||||
"Rigid Body Rebuild -> Point Cache Reset",
|
||||
RELATION_FLAG_FLUSH_USER_EDIT_ONLY);
|
||||
}
|
||||
}
|
||||
else {
|
||||
flag = FLAG_GEOMETRY;
|
||||
|
|
|
@ -49,8 +49,8 @@
|
|||
#include "UI_interface.h"
|
||||
#include "UI_view2d.h"
|
||||
|
||||
#include "nla_intern.h" /* own include */
|
||||
#include "nla_private.h" /* FIXME: maybe this shouldn't be included? */
|
||||
#include "nla_intern.h"
|
||||
#include "nla_private.h"
|
||||
|
||||
/* -------------------------------------------------------------------- */
|
||||
/** \name Public Utilities
|
||||
|
|
|
@ -85,7 +85,6 @@ static void deselect_nla_strips(bAnimContext *ac, short test, short sel)
|
|||
short smode;
|
||||
|
||||
/* determine type-based settings */
|
||||
/* FIXME: double check whether ANIMFILTER_LIST_VISIBLE is needed! */
|
||||
filter = (ANIMFILTER_DATA_VISIBLE | ANIMFILTER_FCURVESONLY);
|
||||
|
||||
/* filter data */
|
||||
|
|
Loading…
Reference in New Issue