Paul Posted July 18, 2014 Posted July 18, 2014 I was just looking in our code for incorrect usage of forloop, not using maximum_value but an expression like we do with for. Using regex search "forloop\(.+<.+\)" I found this in core/editor/editor_bodies.h: forloop(int j = 0; j < b.getNumShapes()) { Shape shape = b.getShape(j); if(shape.isEnabled() == 0) continue; shape.renderVisualizer(color); } forloop(int j = 0; j < b.getNumJoints()) { Joint joint = b.getJoint(j); if(joint.isEnabled() == 0) continue; joint.renderVisualizer(color); } I expect that this should be forloop(int j = 0; b.getNumShapes()) {
silent Posted July 30, 2014 Posted July 30, 2014 Hi Paul, Yes, this is indeed our mistake and we will fix it in the next SDK update. Thank you! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts