mirror of
https://gitlab.com/freepascal.org/lazarus/lazarus.git
synced 2025-11-07 12:49:29 +01:00
fpvectorial-svg: Fixes block reading, which was broken after a change in ReadEntityFromNode
git-svn-id: trunk@42311 -
This commit is contained in:
parent
22c74b140c
commit
9342b8538f
@ -1105,6 +1105,7 @@ var
|
||||
i: Integer;
|
||||
lCurNode, lCurSubNode: TDOMNode;
|
||||
lBrushEntity: TvEntityWithPenAndBrush;
|
||||
lCurEntity: TvEntity;
|
||||
begin
|
||||
lCurNode := ANode.FirstChild;
|
||||
while Assigned(lCurNode) do
|
||||
@ -1186,7 +1187,9 @@ begin
|
||||
AData.AddEntity(lBlock);
|
||||
AData.SetCurrentLayer(lBlock);
|
||||
//
|
||||
ReadEntityFromNode(lCurNode, AData, ADoc);
|
||||
lCurEntity := ReadEntityFromNode(lCurNode, AData, ADoc);
|
||||
if lCurEntity <> nil then
|
||||
AData.AddEntity(lCurEntity);
|
||||
//
|
||||
AData.SetCurrentLayer(lPreviousLayer);
|
||||
end;
|
||||
|
||||
Loading…
Reference in New Issue
Block a user