bug dans placement des connecteurs...
This commit is contained in:
parent
7b5147ff05
commit
9abe14fb7e
|
@ -1089,7 +1089,7 @@ PPlacement::GenerateConsPlacement()
|
||||||
if (faces[1])
|
if (faces[1])
|
||||||
{
|
{
|
||||||
interval = (maxy - miny) / faces[1];
|
interval = (maxy - miny) / faces[1];
|
||||||
spaceLeft = (maxx - minx) % faces[1];
|
spaceLeft = (maxy - miny) % faces[1];
|
||||||
pos = miny + interval / 2;
|
pos = miny + interval / 2;
|
||||||
while(faces[1]--)
|
while(faces[1]--)
|
||||||
{
|
{
|
||||||
|
@ -1121,7 +1121,7 @@ PPlacement::GenerateConsPlacement()
|
||||||
if (faces[3])
|
if (faces[3])
|
||||||
{
|
{
|
||||||
interval = (maxy - miny) / faces[3];
|
interval = (maxy - miny) / faces[3];
|
||||||
spaceLeft = (maxx - minx) % faces[3];
|
spaceLeft = (maxy - miny) % faces[3];
|
||||||
pos = miny + interval / 2;
|
pos = miny + interval / 2;
|
||||||
while(faces[3]--)
|
while(faces[3]--)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue