bug dans placement des connecteurs...

This commit is contained in:
Christophe Alexandre 2002-11-07 14:41:44 +00:00
parent 7b5147ff05
commit 9abe14fb7e
1 changed files with 3 additions and 3 deletions

View File

@ -1089,7 +1089,7 @@ PPlacement::GenerateConsPlacement()
if (faces[1])
{
interval = (maxy - miny) / faces[1];
spaceLeft = (maxx - minx) % faces[1];
spaceLeft = (maxy - miny) % faces[1];
pos = miny + interval / 2;
while(faces[1]--)
{
@ -1121,7 +1121,7 @@ PPlacement::GenerateConsPlacement()
if (faces[3])
{
interval = (maxy - miny) / faces[3];
spaceLeft = (maxx - minx) % faces[3];
spaceLeft = (maxy - miny) % faces[3];
pos = miny + interval / 2;
while(faces[3]--)
{