1

Closed

SceneNode.Name Property setter doesnt apply value.

description

SceneNode.Name (public property) doesnt set new values. See code:
 
public string Name
    {
        get
        {
            IntPtr name = SceneNode_GetName(pointer);
            return Marshal.PtrToStringAnsi(name);
        }
        set
        {
            SceneNode_SetName(pointer, Name); <-- should  be  -->  SceneNode_SetName(pointer, value); 
        }
    }
Closed Mar 30, 2011 at 6:23 PM by Mattan360
Removed in the next source update

comments

RWhittten wrote Mar 30, 2011 at 4:17 PM

I tested the suggested fix localy and it works. By using value you able to assign a Name to a SceneNode Object now. Is there a reason why Name was used instead?
Thanks

Mattan360 wrote Mar 30, 2011 at 6:23 PM

Probably just a typo, thanks for highlighting this.
The fix will be released tonight!

wrote Mar 30, 2011 at 6:23 PM

wrote Feb 14, 2013 at 2:11 AM

wrote May 16, 2013 at 7:14 AM