Skip to content

Commit

Permalink
Partial revert 6e847f5 fix#62
Browse files Browse the repository at this point in the history
  • Loading branch information
zamtmn committed Mar 3, 2023
1 parent 9ec0e9f commit bc0fdf2
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions cad_source/zcad/core/drawings/uzcdrawing.pas
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ interface
procedure onUndoRedo;
procedure onUndoRedoDataOwner(PDataOwner:Pointer);

//procedure SetCurrentDWG;virtual;
procedure SetCurrentDWG;virtual;
function StoreOldCamerapPos:Pointer;virtual;
procedure StoreNewCamerapPos(command:Pointer);virtual;
//procedure SetEntFromOriginal(_dest,_source:PGDBObjEntity;PCD_dest,PCD_source:PTDrawingPreCalcData);
Expand Down Expand Up @@ -136,10 +136,10 @@ procedure TZCADDrawing.SetUnitsFormat(f:TzeUnitsFormat);
sysvar.DWG.DWG_UnitMode^:=f.umode;
end;

{procedure TZCADDrawing.SetCurrentDWG();
procedure TZCADDrawing.SetCurrentDWG();
begin
drawings.SetCurrentDWG(@self);
end;}
end;
function TZCADDrawing.StoreOldCamerapPos:Pointer;
begin
result:=TGDBCameraBasePropChangeCommand.CreateAndPushIfNeed(UndoStack,GetPcamera^.prop,nil,nil)
Expand Down

0 comments on commit bc0fdf2

Please sign in to comment.