Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view

This file was deleted.

This file was deleted.

Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2020 jMonkeyEngine
* Copyright (c) 2009-2026 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -66,8 +66,8 @@ public class JmeJoint extends AbstractSceneExplorerNode {
public JmeJoint() {
}

public JmeJoint(JmeSkinningControl jmeSkinningControl, Joint joint, JmeJointChildren children) {
super(children);
public JmeJoint(JmeSkinningControl jmeSkinningControl, Joint joint, JmeJointChildren children, DataObject dataObject) {
super(children, dataObject);
this.jmeSkinningControl = jmeSkinningControl;
getLookupContents().add(joint);
getLookupContents().add(this);
Expand Down Expand Up @@ -102,7 +102,7 @@ protected Sheet createSheet() {
@Override
public Action[] getActions(boolean context) {
return new Action[]{
Actions.alwaysEnabled(new AttachementNodeActionListener(), "Get attachement Node", "", false),
Actions.alwaysEnabled(new AttachementNodeActionListener(), "Get attachment Node", "", false),
Actions.alwaysEnabled(new ArmatureMaskActionListener(), "Create armature mask", "", false)
};
}
Expand All @@ -122,7 +122,7 @@ public org.openide.nodes.Node[] createNodes(Object key, DataObject key2, boolean
JmeJointChildren children = new JmeJointChildren(jmeSkinningControl, (Joint)key);
children.setReadOnly(cookie);
children.setDataObject(key2);
return new org.openide.nodes.Node[]{new JmeJoint(jmeSkinningControl, (Joint)key, children).setReadOnly(cookie)};
return new org.openide.nodes.Node[]{new JmeJoint(jmeSkinningControl, (Joint)key, children, key2).setReadOnly(cookie)};
}


Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
/*
* Copyright (c) 2009-2020 jMonkeyEngine
* Copyright (c) 2009-2026 jMonkeyEngine
* All rights reserved.
*
* Redistribution and use in source and binary forms, with or without
Expand Down Expand Up @@ -101,7 +101,7 @@ protected Node[] createNodes(Object key) {
JmeJointChildren children = new JmeJointChildren(jmeSkinningControl, (Joint)key);
children.setReadOnly(readOnly);
children.setDataObject(dataObject);
return new Node[]{new JmeJoint(jmeSkinningControl, (Joint)key, children).setReadOnly(readOnly)};
return new Node[]{new JmeJoint(jmeSkinningControl, (Joint)key, children, dataObject).setReadOnly(readOnly)};
} else {
return new Node[]{Node.EMPTY};
}
Expand Down
Loading