scene.createGlobalVariableValue
Posted: Fri Mar 11, 2011 5:39 pm
Hello RF fellows,
what is wrong, when I try to register global variables in the following way with a command plugin:
When I try this I get a warning
Thanks,
Martin
what is wrong, when I try to register global variables in the following way with a command plugin:
Code: Select all
Scene& scene = AppManager::instance()->getCurrentScene();
scene.createGlobalVariableValue<int>("Name");
scene.setGlobalVariableValue<int>("Name",10);
this means something like "assignement operator couldn't be generated"warning C4512: 'nextlimit::NL_RefType<TYPE_CLASS>': Zuweisungsoperator konnte nicht generiert werden
1> with
1> [
1> TYPE_CLASS=int
1> ]
Thanks,
Martin