#define DALI_INTERNAL_SCENE_GRAPH_CONSTRAINT_H
/*
- * Copyright (c) 2023 Samsung Electronics Co., Ltd.
+ * Copyright (c) 2025 Samsung Electronics Co., Ltd.
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
// The first observer is the target of the constraint
mObservedOwners[0]->SetUpdated(true);
}
+ // Optionally bake the final value
+ if(Dali::Constraint::BAKE == mRemoveAction)
+ {
+ mTargetProperty.Bake(updateBufferIndex, current);
+ }
}
}
else
// The first observer is the target of the constraint
mObservedOwners[0]->SetUpdated(true);
}
+ // Optionally bake the final value
+ if(Dali::Constraint::BAKE == mRemoveAction)
+ {
+ mTargetProperty.Bake(updateBufferIndex, current);
+ }
}
}
- // Optionally bake the final value
- if(Dali::Constraint::BAKE == mRemoveAction)
- {
- mTargetProperty.Bake(updateBufferIndex, current);
- }
- else
+ if(Dali::Constraint::DISCARD == mRemoveAction)
{
mTargetProperty.Set(updateBufferIndex, current);
}