Attach Speckle Properties to instances
This commit is contained in:
+9
@@ -178,8 +178,14 @@ namespace Objects.Converter.Unity
|
||||
excludeProps.Add(alias);
|
||||
}
|
||||
|
||||
excludeProps.Add("@Materials");
|
||||
excludeProps.Add("@Views");
|
||||
excludeProps.Add("renderMaterial");
|
||||
excludeProps.Add("typedDefinition");
|
||||
excludeProps.Add("definition");
|
||||
excludeProps.Add("geometry");
|
||||
excludeProps.Add("elements");
|
||||
excludeProps.Add("transform");
|
||||
excludeProps.Add("name");
|
||||
//excludeProps.Add("tag");
|
||||
excludeProps.Add("physicsLayer");
|
||||
@@ -294,6 +300,9 @@ namespace Objects.Converter.Unity
|
||||
: defName;
|
||||
|
||||
native.name = instanceName;
|
||||
|
||||
AttachSpeckleProperties(native, instance.GetType(), () => GetProperties(instance));
|
||||
|
||||
return native;
|
||||
}
|
||||
|
||||
|
||||
@@ -1,6 +1,6 @@
|
||||
{
|
||||
"name": "systems.speckle.speckle-unity",
|
||||
"version": "2.15.1",
|
||||
"version": "2.15.2",
|
||||
"displayName": "Speckle Unity Connector",
|
||||
"description": "AEC Interoperability for Unity through Speckle",
|
||||
"unity": "2021.1",
|
||||
|
||||
Reference in New Issue
Block a user