mirror of
https://github.com/AquariaOSE/Aquaria.git
synced 2024-11-29 03:33:48 +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();
|
glEnd();
|
||||||
}
|
}
|
||||||
|
|
||||||
const Vector *psrc = _assistMode
|
|
||||||
? &bsp.controlpoints[0]
|
|
||||||
: &cpgen.designpoints[0];
|
|
||||||
|
|
||||||
if(RenderObject::renderCollisionShape)
|
if(RenderObject::renderCollisionShape)
|
||||||
{
|
{
|
||||||
|
@ -299,6 +296,10 @@ void SplineGrid::onRender(const RenderState& rs) const
|
||||||
glPushMatrix();
|
glPushMatrix();
|
||||||
glScalef(width, height, 1);
|
glScalef(width, height, 1);
|
||||||
|
|
||||||
|
const Vector *psrc = _assistMode
|
||||||
|
? &bsp.controlpoints[0]
|
||||||
|
: &cpgen.designpoints[0];
|
||||||
|
|
||||||
// X axis
|
// X axis
|
||||||
for(size_t y = 0; y < cpy; ++y)
|
for(size_t y = 0; y < cpy; ++y)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in a new issue