vance-group/vr-jugglua — Issue #9: osgLuaBind pass Matrixd by const reference issue
Author: rpavlik
Created: 2011-11-02 15:49:38+00:00
State: open
Labels: osgLua

This code (from SPARTA) fails when trying to set the property:
class_
.property("matrix", &Convenience::getPoseAsOSG, &setStateFromOSG)

static void setStateFromOSG(IBody & self, osg::Matrixd const& matrix) { ... }

while changing it to this works:
static void setStateFromOSG(IBody & self, osg::Matrixd matrix) { ... }

Broke in commit f24d53653690d03de0fcc6a06fbd57b0af7c4b09