monitorius Posted October 12, 2010 Share Posted October 12, 2010 Something is wrong with parser. void example(){ vec3 _p0,_p1; // The difference between using "ret" and "_ret" names: int ret[0]; engine.world.getIntersection(_p0, _p1, ~0, ret); // no problems int _ret[0]; engine.world.getIntersection(_p0, _p1, ~0, _ret); // exception (see attachment) } Link to comment
Guest extaliones Posted October 13, 2010 Share Posted October 13, 2010 Please, use symbol "_" after the variable name : int ret_[0]; Link to comment
monitorius Posted October 13, 2010 Author Share Posted October 13, 2010 Yes, I know various methods of renaming variables, so it's not a big problem :) Nevertheless, it's a bug, because non-array variables work well even with first "_" in their names. Link to comment
Guest extaliones Posted October 13, 2010 Share Posted October 13, 2010 We will fix this issue, please, stand by. Link to comment
frustum Posted October 18, 2010 Share Posted October 18, 2010 Can't reproduce on current build. The problem will be fixed on next update. Link to comment
Recommended Posts