1
0
Fork 0
mirror of https://github.com/AquariaOSE/Aquaria.git synced 2024-11-25 09:44:02 +00:00
This commit is contained in:
fgenesis 2024-07-08 01:54:13 +02:00
parent 3cb64459f3
commit a5b25af6d5

View file

@ -288,9 +288,6 @@ void SplineGrid::onRender(const RenderState& rs) const
glEnd();
}
const Vector *psrc = _assistMode
? &bsp.controlpoints[0]
: &cpgen.designpoints[0];
if(RenderObject::renderCollisionShape)
{
@ -299,6 +296,10 @@ void SplineGrid::onRender(const RenderState& rs) const
glPushMatrix();
glScalef(width, height, 1);
const Vector *psrc = _assistMode
? &bsp.controlpoints[0]
: &cpgen.designpoints[0];
// X axis
for(size_t y = 0; y < cpy; ++y)
{