jMonkeyEngine / jMonkeyEngine/sdk

ShaderNodes: Exception in findConnectionPoint

Open
#235 1 comment 0 reactions 1 assignee View on GitHub

@neph1 is already working on this.

Since May 16, 2022.

bug Contribution welcome ShaderNodes/PBR
Dominant language
Java
Stars
348
Forks
104
Avg merge
4d 13h
Merged PRs (30d)
3

Description

When playing with Shader Nodes, I changed something in Text (specifically I changed the MatParam Name and then also connected this to the ColorMult).
Now obviously the UI Part doesn't recognize this change. It should.

If not, it should at least prevent the Exception:

java.lang.NullPointerException
	at com.jme3.gde.materialdefinition.editor.MatDefEditorlElement.findConnectPoint(MatDefEditorlElement.java:652)
	at com.jme3.gde.materialdefinition.editor.MatDefEditorlElement.makeConnection(MatDefEditorlElement.java:664)
	at com.jme3.gde.materialdefinition.editor.MatDefEditorlElement.initDiagram(MatDefEditorlElement.java:219)
	at com.jme3.gde.materialdefinition.editor.MatDefEditorlElement.reload(MatDefEditorlElement.java:765)
	at com.jme3.gde.materialdefinition.editor.MatDefEditorlElement.componentShowing(MatDefEditorlElement.java:491)
	at org.netbeans.core.multiview.MultiViewPeer.showCurrentElement(MultiViewPeer.java:480)
	at org.netbeans.core.multiview.MultiViewPeer.showCurrentElement(MultiViewPeer.java:437)

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.