Skip to content

Commit f1fcf0a

Browse files
authored
Merge pull request #649 from IKhonakhbeeva/switch
Disable switch block for ev3 generation
2 parents b4b5bf0 + e8ce109 commit f1fcf0a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

plugins/robots/common/ev3Kit/src/blocks/ev3BlocksFactory.cpp

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -177,6 +177,9 @@ qReal::IdList Ev3BlocksFactory::blocksToDisable() const
177177
result
178178
<< id("Ev3CalibrateGyroscope")
179179
;
180+
} else {
181+
result << id("SwitchBlock")
182+
;
180183
}
181184
}
182185

0 commit comments

Comments
 (0)