Write a proper definition for ValueNode_DynamicList::create_new().
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 22 Nov 2008 15:26:53 +0000 (15:26 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sat, 22 Nov 2008 15:26:53 +0000 (15:26 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2227 1f10aa63-cdf2-0310-b900-c93c546f37ac

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

index dfdf084..0f59a87 100644 (file)
@@ -735,9 +735,7 @@ ValueNode_DynamicList::get_contained_type()const
 LinkableValueNode*
 ValueNode_DynamicList::create_new()const
 {
-       assert(0);
-
-       return 0;
+       return new ValueNode_DynamicList(container_type);
 }
 
 int