X-Git-Url: https://git.pterodactylus.net/?a=blobdiff_plain;f=synfig-core%2Fsrc%2Fsynfig%2Fvalue.cpp;h=f9a41b7c7a7293d2566f98a1b7bf417430de6428;hb=d43ed398fd84b93b96eb91d91dafdf65c80537e6;hp=fdc629bf752dfcfe5ec32011b054249285858eb2;hpb=1c1eea49df6278dc5e9215d39267f9ceb7d25f0e;p=synfig.git diff --git a/synfig-core/src/synfig/value.cpp b/synfig-core/src/synfig/value.cpp index fdc629b..f9a41b7 100644 --- a/synfig-core/src/synfig/value.cpp +++ b/synfig-core/src/synfig/value.cpp @@ -57,14 +57,15 @@ using namespace etl; /* === M E T H O D S ======================================================= */ -ValueBase::ValueBase():type(TYPE_NIL),data(0),ref_count(0),loop_(0) +ValueBase::ValueBase():type(TYPE_NIL),data(0),ref_count(0),loop_(0),static_(0) { } ValueBase::ValueBase(Type x): type(x), data(0), - loop_(0) + loop_(0), + static_(0) { switch(type) { @@ -216,6 +217,7 @@ ValueBase::operator=(const ValueBase& x) ref_count=x.ref_count; } loop_=x.loop_; + static_=x.static_; return *this; }