Hi Andrew, On 03/18/2010 09:07 PM, Carsten Neumann wrote: >> >> function() { >> ... >> NodePtr node = makeCoredNode<ComponentTransform>(&m_ct ); > ^^^ > ... when you do this. makeCoredNode<T> creates a new core of type T, > sets it as core of the returned Node and additionally gives you a > pointer to the newly created core in the argument.
Yup. My guess is you want NodePtr node = makeNodeFor(&m_ct ); In the end it probably doesn't matter, assuming you add the NodePtr you create to the scene. As long as () is called before setScale it should work expect for the little memory leak of the original core. So that doesn't really explain your problem. Could you send the whole source file? There seems to be missing that we're missing here. Dirk ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Opensg-users mailing list Opensg-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/opensg-users