Skip to content
Snippets Groups Projects
Commit 055d0ce9 authored by Joseph Mirabel's avatar Joseph Mirabel Committed by hdallard
Browse files

graph::helper does not create placement constraints if there are no env

contacts
parent fe44f138
No related branches found
No related tags found
No related merge requests found
......@@ -901,7 +901,7 @@ namespace hpp {
++it;
}
// Create placement
if (!od.shapes.empty ()) {
if (!envNames.empty() && !od.shapes.empty ()) {
const std::string placeN = "place_" + od.name;
ps->createPlacementConstraint (placeN,
od.shapes, envNames, margin);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment