MorphControl doesn't override cloneFields(), jmeClone(), read(), nor write()
See original GitHub issueAs was pointed out at the Forum, the MorphControl
class supposedly implements JmeCloneable
and Savable
, yet none of the relevant methods are overridden.
https://hub.jmonkeyengine.org/t/issue-with-multiple-models-and-morph-animations/44598
Obviously this makes it impossible to load a MorphControl
from assets.
Also, the OP reported that after cloning a model with a MorphControl
, the clone and the original morphed in synchrony.
In my own tests, cloning a model with a MorphControl
resulted in a crash:
RendererException: Cannot recompile shader source
Issue Analytics
- State:
- Created 2 years ago
- Reactions:2
- Comments:8 (7 by maintainers)
Top Results From Across the Web
Why does java.lang.Cloneable not override the clone ...
A class implements the Cloneable interface to indicate to the java.lang.Object#clone() method that it is legal for that method to make a field- ......
Read more >How to Clone Objects with Mutable field in Java? Example ...
It is known as co-variant method overriding. This will prevent lot of type casting at client side. Unfortunately clone() method of java.util.Date is...
Read more >Java-Override clone judiciously - Learn - Medium
The base class Object” has a “clone()” method. When a class implements “Cloneable”, the class gets the clone functionality that is supported in ......
Read more >fields module — Whoosh 2.7.4 documentation
This class has several methods for converting between the field name, field number, and field object itself. All keyword arguments to the constructor...
Read more >Java Inheritance Tutorial: explained with examples
Inheritance is the process of building a new class based on the features of another existing class. It is used heavily in Java,...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
I’m on it 😃
Okay, @Ali-RS. It’s your turn now!