ImportMeshAsync leaks coordinateSystemMode into AssetManager

Hi everyone,

I quickly wanted to test the new “ImportMeshAsync” while the majority of other assets still load via AssetManager.

It seems that mixing the two and overriding coordinateSystemMode from ImportMeshAsync leaks into meshes loading fomr AssetManager :open_mouth:

Best wishes
Joe

See also: https://playground.babylonjs.com/#HSJHCS#1

cc @alexchuber

Yeah, FORCE_RIGHT_HANDED is a legacy option that mutates the scene by setting scene.useRightHandedSystem. The glTF loader reads this flag to determine whether handedness conversions are needed.

Since ImportMeshAsync is called with this option before assetManager.load(), I think this is expected behavior.