Browse Source

Merge branch 'testing' of msdl.uantwerpen.be:yentl/modelverse into testing

Yentl Van Tendeloo 8 years ago
parent
commit
7986786c75
1 changed files with 6 additions and 0 deletions
  1. 6 0
      models/SCCD_execute.alc

+ 6 - 0
models/SCCD_execute.alc

@@ -759,6 +759,12 @@ Boolean function main(model : Element):
 	list_append(lst, identifier)
 	set_add_node(data["current_class_handle"]["new_events"], create_tuple("instance_created", lst))
 
+	// Notify this class itself of its ID
+	Element lst
+	lst = list_create()
+	list_append(lst, identifier)
+	set_add_node(data["current_class_handle"]["new_events"], create_tuple("instance_created", lst))
+
 	Float timeout
 	Element interrupt
 	timeout = 0.0