mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-25 09:44:02 +00:00
ocd fix
This commit is contained in:
parent
3cb64459f3
commit
a5b25af6d5
1 changed files with 4 additions and 3 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue