You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// For Morph animationFloatArrayMorphWeightsIntNumberOfMorphTargetsIntNumberOfTargetsBuffers
Its representation in the Options tab of the Material Editor is wrong.
The problem should be caused by the incorrect defLine.startsWith(string) and defLine.replaceFirst() algorithm when string = "Float" and defLine starts with FloatArray:
I don't know would be easier to parse the file with StringTokenizer or something. But I think the easiest fix is to set FloatArray as one of the types. It just needs to be before Float (startsWith...), need to comment this in code. Do we have editor type for float array...
Hi guys,
the
MorphWeights
parameter is aFloatArray
not aFloat
.See PBRLighting.j3md
Its representation in the Options tab of the Material Editor is wrong.

The problem should be caused by the incorrect
defLine.startsWith(string)
anddefLine.replaceFirst()
algorithm whenstring = "Float"
and defLine starts withFloatArray
:https://github.com/jMonkeyEngine/sdk/blob/master/jme3-materialeditor/src/com/jme3/gde/materials/EditableMaterialFile.java#L243
Output:
MaterialProperty [type=Float, name=Array ShadowMapSize, value=]
The text was updated successfully, but these errors were encountered: