mirror of
https://github.com/vrm-c/UniVRM.git
synced 2026-04-24 15:08:02 -05:00
fix
This commit is contained in:
parent
9086021258
commit
383bfa4f68
11
Assets/VRM10/Runtime/Migration/MigrationCheck.cs.meta
Normal file
11
Assets/VRM10/Runtime/Migration/MigrationCheck.cs.meta
Normal file
|
|
@ -0,0 +1,11 @@
|
|||
fileFormatVersion: 2
|
||||
guid: 082de46c993eb764eb020101c113824a
|
||||
MonoImporter:
|
||||
externalObjects: {}
|
||||
serializedVersion: 2
|
||||
defaultReferences: []
|
||||
executionOrder: 0
|
||||
icon: {instanceID: 0}
|
||||
userData:
|
||||
assetBundleName:
|
||||
assetBundleVariant:
|
||||
|
|
@ -19,15 +19,16 @@ namespace UniVRM10
|
|||
{
|
||||
if (node.translation != null && node.translation.Length == 3)
|
||||
{
|
||||
// rotate 180 degrees around the Y axis
|
||||
var t = node.translation;
|
||||
t[0] = -t[0];
|
||||
t[2] = -t[2];
|
||||
}
|
||||
if (node.rotation != null && node.rotation.Length == 4)
|
||||
{
|
||||
// throw new NotImplementedException("not normlaized !");
|
||||
// throw new NotImplementedException("not normalized !");
|
||||
}
|
||||
if (node.scale != null && node.rotation.Length == 3)
|
||||
if (node.scale != null && node.scale.Length == 3)
|
||||
{
|
||||
// do nothing
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user