scene.createGlobalVariableValue

Post Reply
martin_st
Posts: 6
Joined: Thu Aug 19, 2010 1:59 pm
Location: Erlangen / Germany

scene.createGlobalVariableValue

Post by martin_st » 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:

Code: Select all

Scene& scene =  AppManager::instance()->getCurrentScene();
scene.createGlobalVariableValue<int>("Name");
scene.setGlobalVariableValue<int>("Name",10);
When I try this I get a warning
warning C4512: 'nextlimit::NL_RefType<TYPE_CLASS>': Zuweisungsoperator konnte nicht generiert werden
1> with
1> [
1> TYPE_CLASS=int
1> ]
this means something like "assignement operator couldn't be generated"

Thanks,
Martin

User avatar
atena
Site Admin
Posts: 112
Joined: Fri Jun 04, 2010 1:25 pm

Re: scene.createGlobalVariableValue

Post by atena » Mon Mar 14, 2011 12:24 pm

Thank you, we will have a look at it. I think this should work even if you get that warning message.
Angel Tena
Head of RealFlow Technology
Next Limit Technologies

Post Reply