Fem: Constraint symbol scaling based on shape size - fixes #7030

This commit is contained in:
marioalexis
2024-04-22 00:10:06 -03:00
committed by Chris Hennes
parent b6b7bc876c
commit 6aabe77a1a
3 changed files with 19 additions and 70 deletions

View File

@@ -110,7 +110,7 @@ void ConstraintTransform::onChanged(const App::Property* prop)
if (prop == &References) {
std::vector<Base::Vector3d> points;
std::vector<Base::Vector3d> normals;
int scale = 1; // OvG: Enforce use of scale
double scale = 1; // OvG: Enforce use of scale
if (getPoints(points, normals, &scale)) {
std::string transform_type = TransformType.getValueAsString();
if (transform_type == "Cylindrical") {