|
@@ -1,6 +1,7 @@
|
|
|
include "primitives.alh"
|
|
|
|
|
|
Element function export_node(model_name : String, model_reference : Element):
|
|
|
+ log("Export to " + model_name)
|
|
|
Element splitted
|
|
|
splitted = string_split(model_name, "/")
|
|
|
Integer length
|
|
@@ -23,7 +24,7 @@ Element function export_node(model_name : String, model_reference : Element):
|
|
|
if (bool_not(dict_in(current, splitted[length]))):
|
|
|
dict_add(current, splitted[length], model_reference)
|
|
|
else:
|
|
|
- log("Could not export to that location: already in use!")
|
|
|
+ log(("Could not export to " + model_name) + ": already in use!")
|
|
|
|
|
|
return model_reference!
|
|
|
|