Work-in-progress: Interpolation of snapshot in Action manager

This commit is contained in:
brunoherbelin
2021-04-21 23:35:34 +02:00
parent e2d2e6ddd8
commit da64172848
14 changed files with 405 additions and 122 deletions

View File

@@ -69,7 +69,7 @@ SourceCore::~SourceCore()
void SourceCore::copy(SourceCore const& other)
{
// copy groups properties
groups_[View::RENDERING]->copyTransform( other.group(View::RENDERING) );
// groups_[View::RENDERING]->copyTransform( other.group(View::RENDERING) );
groups_[View::MIXING]->copyTransform( other.group(View::MIXING) );
groups_[View::GEOMETRY]->copyTransform( other.group(View::GEOMETRY) );
groups_[View::LAYER]->copyTransform( other.group(View::LAYER) );
@@ -84,14 +84,13 @@ void SourceCore::copy(SourceCore const& other)
void SourceCore::store (View::Mode m)
{
stored_status_->copyTransform(groups_[m]);
stored_status_->copyTransform(groups_[m]);
}
SourceCore& SourceCore::operator= (SourceCore const& other)
{
if (this != &other) { // no self assignment
if (this != &other) // no self assignment
copy(other);
}
return *this;
}