Skip to content

Commit

Permalink
LNB а не Центр AABB выделенных примитивов как базовая точка при коппи…
Browse files Browse the repository at this point in the history
…повании в клипбоард без точки вставки
  • Loading branch information
zamtmn committed Sep 12, 2024
1 parent 8057e6b commit f5c3bfd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cad_source/zcad/commands/uzccommand_copyclip.pas
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ function CopyClip_com(const Context:TZCADCommandContext;operands:TCommandOperand

if FoundEnts then begin
ReCreateClipboardDWG;
m:=CreateTranslationMatrix(-(SelectedAABB.RTF+SelectedAABB.LBN)/2);
m:=CreateTranslationMatrix(-SelectedAABB.LBN{-(SelectedAABB.RTF+SelectedAABB.LBN)/2});
pobj:=drawings.GetCurrentROOT.ObjArray.beginiterate(ir);
if pobj<>nil then
repeat
Expand Down

0 comments on commit f5c3bfd

Please sign in to comment.