compatibility with wxWdigets 2.9+: Vector2D use *0.5 instead of /2 to prevent ambiguous conversion errors

git-svn-id: svn://svn.code.sf.net/p/magicseteditor/code/trunk@1536 0fc631ac-6414-0410-93d0-97cfa31319b6
This commit is contained in:
twanvl
2010-12-07 21:11:03 +00:00
parent e84e6473e0
commit 3ca87fce86
+1 -1
View File
@@ -180,7 +180,7 @@ void SymbolBasicShapeEditor::makeShape(Vector2D a, Vector2D b, bool constrained,
if (centered) {
makeCenteredShape(a, size, constrained);
} else {
makeCenteredShape(a + size / 2, size / 2, constrained);
makeCenteredShape(a + size * 0.5, size * 0.5, constrained);
}
}