Initialise the 'time_last_changed' when creating a Node. Previously it was being...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 3 Feb 2008 18:17:52 +0000 (18:17 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 3 Feb 2008 18:17:52 +0000 (18:17 +0000)
git-svn-id: http://svn.voria.com/code@1563 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-core/trunk/src/synfig/node.cpp

index f6a820e..d4029e3 100644 (file)
@@ -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