Kaydet (Commit) 0c170376 authored tarafından Armin Le Grand's avatar Armin Le Grand

#116244# need to reset rotation when a polygon object in construction becomes…

#116244# need to reset rotation when a polygon object in construction becomes more than a simple line
üst a7dc3e8b
...@@ -1799,6 +1799,10 @@ void SdrPathObj::ImpForceKind() ...@@ -1799,6 +1799,10 @@ void SdrPathObj::ImpForceKind()
{ {
aRect = ImpGetBoundRect(GetPathPoly()); aRect = ImpGetBoundRect(GetPathPoly());
} }
// #116244# reset rotation
aGeo.nDrehWink = aGeo.nShearWink = 0;
aGeo.RecalcSinCos(); aGeo.RecalcTan();
} }
// #i75974# adapt polygon state to object type. This may include a reinterpretation // #i75974# adapt polygon state to object type. This may include a reinterpretation
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment