Found the issue... for some reason the scripts/math/vector.lua script was screwed up...
In the StringToVec2 function, this line:
return Vec2(x,y,z)
needs to be changed to this:
return Vec2(x,y)
and this allows the underwater to be seen correctly in the editor... still working on what the issue is outside of the editor
ok... along with that, it still seems something is amiss with Vec2's in LE. I ran some old bmax code that actually set the water properties and it started failing at the framewOrk Vec2's... This code worked just fine the last time I ran it. To get this to work again, I had to use the components of the Vec2...
Also, even with the above change to the vector.lua script, I forgot that I had to also change the waterplane script.
Inside the Refresh function, this line:
fw.renderer:SetWaterVisibility(self.visibility)
needs to be changed to this:
fw.renderer:SetWaterVisibility(self.visibility.x, self.visibility.y)
Whats going on with the VEC2's in LE?