|
|
@ -124,7 +124,6 @@ public class JmeSpatial extends AbstractSceneExplorerNode { |
|
|
|
// SystemAction.get(DeleteAction.class)
|
|
|
|
// SystemAction.get(DeleteAction.class)
|
|
|
|
// };
|
|
|
|
// };
|
|
|
|
// }
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
|
|
@Override |
|
|
|
@Override |
|
|
|
public Action[] getActions(boolean context) { |
|
|
|
public Action[] getActions(boolean context) { |
|
|
|
// return super.getActions(context);
|
|
|
|
// return super.getActions(context);
|
|
|
@ -196,11 +195,12 @@ public class JmeSpatial extends AbstractSceneExplorerNode { |
|
|
|
return null; |
|
|
|
return null; |
|
|
|
} |
|
|
|
} |
|
|
|
}).get(); |
|
|
|
}).get(); |
|
|
|
//TODO: not a good cast
|
|
|
|
if (getParentNode() instanceof JmeNode) { |
|
|
|
JmeNode node = ((JmeNode) getParentNode()); |
|
|
|
JmeNode node = ((JmeNode) getParentNode()); |
|
|
|
if (node != null) { |
|
|
|
if (node != null) { |
|
|
|
node.refresh(false); |
|
|
|
node.refresh(false); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
} catch (InterruptedException ex) { |
|
|
|
} catch (InterruptedException ex) { |
|
|
|
Exceptions.printStackTrace(ex); |
|
|
|
Exceptions.printStackTrace(ex); |
|
|
|
} catch (ExecutionException ex) { |
|
|
|
} catch (ExecutionException ex) { |
|
|
|