From: dooglus Date: Sun, 3 Feb 2008 18:17:52 +0000 (+0000) Subject: Initialise the 'time_last_changed' when creating a Node. Previously it was being... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=4cee6cb5283901c57c97cae3c464ac25ead814b4;p=synfig.git Initialise the 'time_last_changed' when creating a Node. Previously it was being left at a random value. git-svn-id: http://svn.voria.com/code@1563 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-core/trunk/src/synfig/node.cpp b/synfig-core/trunk/src/synfig/node.cpp index f6a820e..d4029e3 100644 --- a/synfig-core/trunk/src/synfig/node.cpp +++ b/synfig-core/trunk/src/synfig/node.cpp @@ -170,6 +170,7 @@ TimePointSet::insert(const TimePoint& x) Node::Node(): guid_(0), bchanged(true), + time_last_changed_(__sys_clock()), deleting_(false) { #ifndef BE_FRUGAL_WITH_GUIDS