monitorius Posted October 12, 2010 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) }
Guest extaliones Posted October 13, 2010 Posted October 13, 2010 Please, use symbol "_" after the variable name : int ret_[0];
monitorius Posted October 13, 2010 Author 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.
Guest extaliones Posted October 13, 2010 Posted October 13, 2010 We will fix this issue, please, stand by.
frustum Posted October 18, 2010 Posted October 18, 2010 Can't reproduce on current build. The problem will be fixed on next update.
Recommended Posts