Fix the bug of clearing actionset's subactionset.

This commit is contained in:
Kui LIU
2017-08-11 22:11:01 +02:00
parent 08fdf52802
commit 14f5b4981f
@@ -612,7 +612,8 @@ public class SimplifyTree {
private List<Action> getAllMoveActions2(HierarchicalActionSet actionSet) {
List<Action> allMoveActions = new ArrayList<>();
List<HierarchicalActionSet> actions = actionSet.getSubActions();
List<HierarchicalActionSet> actions = new ArrayList<>();
actions.addAll(actionSet.getSubActions());
if (actions.size() == 0) {
return null;
}