Skip to content

Commit 661b82c

Browse files
committed
fix build
Signed-off-by: Ian Chen <[email protected]>
1 parent 416c15d commit 661b82c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

include/gz/sim/components/Model.hh

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -123,6 +123,8 @@ namespace serializers
123123
<< sdf << std::endl;
124124
return _in;
125125
}
126+
sdf::Root root;
127+
root.Load(sdfParsed, config);
126128
if (!root.Model())
127129
{
128130
gzwarn << "Unable to deserialize sdf::Model " << sdf << std::endl;

0 commit comments

Comments
 (0)