[Gridflow-cvs] [svn] commit: r3900 - /trunk/base/source_filter.rb

gridflow-cvs at artengine.ca gridflow-cvs at artengine.ca
Wed Jun 18 14:54:37 EDT 2008


Author: matju
Date: Wed Jun 18 14:54:37 2008
New Revision: 3900

Log:
report change whenever an attribute is set

Modified:
    trunk/base/source_filter.rb

Modified: trunk/base/source_filter.rb
==============================================================================
--- trunk/base/source_filter.rb (original)
+++ trunk/base/source_filter.rb Wed Jun 18 14:54:37 2008
@@ -226,7 +226,7 @@
 			next
 		end
 		type,name,default = attr.to_a
-		handle_def "0 #{name} (#{type} #{name}) {this->#{name}=#{name};}"
+		handle_def "0 #{name} (#{type} #{name}) {this->#{name}=#{name}; changed(gensym(\"#{name}\"));}"
 	}
 	line.gsub!(/^\s*(\w+\s*)?\{/,"")
 	get << "RAISE(\"unknown attr %s\",s->s_name); outlet_anything(bself->outlets[bself->noutlets-1],s,1,a);}"



More information about the Gridflow-cvs mailing list