heyanthony / jmonkeyengine

Automatically exported from code.google.com/p/jmonkeyengine
0 stars 0 forks source link

Unable to add newly created custom control to a spatial using the scene explorer #596

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Bug: Adding a newly created custom control to a spatial in the scene explorer 
fails with the message "Cannot find class: mygame.MyCustomControl Make sure the 
name is correct and the project is compiled, best enable 'Save on Compile' in 
the project preferences."

Steps to reproduce:
1) Using a fresh install of the SDK, create a new BasicGame project.
2) Create class MyCustomControl extending AbstractControl in package mygame. 
(overriding the necessary methods)
3) Create new empty scene in project assets.
4) Add new Node to the scene
5) Right click on Node in SceneExplorer Window
6) Select Add Control.. -> Custom Control
7) Select mygame.MyCustomControl and hit Finish.

Workaround: Restarting the SDK, then adding the control works fine.

I'm using version 3.0 RC2 of the SDK on Windows 7 x64 with Java 1.7.0_03, and 
I'm happy to provide any other system details you need.

I found some other people experiencing the same issue in the past by googling, 
but couldn't find any response that the issue was being looked into or 
resolved. My apologies if this has already been resolved in the 

Original issue reported on code.google.com by remuladg...@gmail.com on 15 Jul 2013 at 2:43

GoogleCodeExporter commented 8 years ago
Hey, 
I'm surprised.
A build of the project after 2) doesn't fix the issue?

Original comment by remy.bou...@gmail.com on 21 Nov 2013 at 10:05