I meant that this is not our code. You go TempVars.get() to get a new instance of temp variables and then have to call tempVars.release() to release them. Note that you should not use assert as in the code example itself, else the variables will only be released when you enable assertions.
@Neomex said:
It says it is for jme3. Every other file compiles, but this one.
And TmpVar is still here in current jme, but it doesn’t have lock / unlock anymore
He means cave3d is not part of the core engine, but a plugin. So ask the plug in dev.
It was developed some times ago when tempVars has these method…the plugin is not maintened i think…