i have the following declaration in my class
array<Mesh::TexturePlane@> pointMesh;
this gives me the following error:
main.asc (14, 5) : ERR : Expected method or property
main.asc (323, 1) : ERR : Unexpected token '}'
line 323 is the last line of my script.
When i remove the Namespace in the c++ "scriptEngine->SetDefaultNamespace("Mesh")"
array<TexturePlane@> pointMesh; << compiles ok
I also tested the simple array notation works with the namespace
Mesh::TexturePlane@[] pointMesh; << compiles ok
Seems like a bug in the array template addon notation.
Show differencesHistory of post edits
#2Andreas Jonsson
Posted 13 June 2012 - 03:29 PM
i have the following declaration in my class
array<Mesh::TexturePlane@> pointMesh;
this gives me the following error:
main.asc (14, 5) : ERR : Expected method or property
main.asc (323, 1) : ERR : Unexpected token '}'
line 323 is the last line of my script.
When i remove the Namespace in the c++ "scriptEngine->SetDefaultNamespace("Mesh")"
array<TexturePlane@> pointMesh; << compiles ok
I also tested the simple array notation works with the namespace
Mesh::TexturePlane@[] pointMesh; << compiles ok
Seems like a bug in the array template addon notation.
array<Mesh::TexturePlane@> pointMesh;
this gives me the following error:
main.asc (14, 5) : ERR : Expected method or property
main.asc (323, 1) : ERR : Unexpected token '}'
line 323 is the last line of my script.
When i remove the Namespace in the c++ "scriptEngine->SetDefaultNamespace("Mesh")"
array<TexturePlane@> pointMesh; << compiles ok
I also tested the simple array notation works with the namespace
Mesh::TexturePlane@[] pointMesh; << compiles ok
Seems like a bug in the array template addon notation.
#1sylexer
Posted 13 June 2012 - 02:13 PM
i have the following declaration in my class
array<Mesh::TexturePlane@> pointMesh;
this gives me the following error:
main.asc (14, 5) : ERR : Expected method or property
main.asc (323, 1) : ERR : Unexpected token '}'
line 323 is the last line of my script.
When i remove the Namespace in the c++ "scriptEngine->SetDefaultNamespace("Mesh")"
array<TexturePlane@> pointMesh; << compiles ok
I also tested the simple array notation works with the namespace
Mesh::TexturePlane@[] pointMesh; << compiles ok
Seems like a bug in the array template addon notation.
array<Mesh::TexturePlane@> pointMesh;
this gives me the following error:
main.asc (14, 5) : ERR : Expected method or property
main.asc (323, 1) : ERR : Unexpected token '}'
line 323 is the last line of my script.
When i remove the Namespace in the c++ "scriptEngine->SetDefaultNamespace("Mesh")"
array<TexturePlane@> pointMesh; << compiles ok
I also tested the simple array notation works with the namespace
Mesh::TexturePlane@[] pointMesh; << compiles ok
Seems like a bug in the array template addon notation.