[TechDraw] Simplify return logic
Easy warmup
This commit is contained in:
committed by
WandererFan
parent
17b457a783
commit
6df0a20214
@@ -244,8 +244,7 @@ Base::Vector3d DrawViewBalloon::getOriginOffset() const
|
||||
double ox = OriginX.getValue();
|
||||
double oy = OriginY.getValue();
|
||||
Base::Vector3d org(ox, oy, 0.0);
|
||||
Base::Vector3d offset = pos - org;
|
||||
return offset;
|
||||
return Base::Vector3d(pos - org);
|
||||
}
|
||||
|
||||
/*
|
||||
|
||||
Reference in New Issue
Block a user