Commit f53df7c
authored
Ensure MaterialInstance copies all properties from source (#222)
Added a call to `output.CopyPropertiesFromMaterial(source)` in the `Instance` method of `MaterialInstance.cs`. This ensures that the newly created `output` material inherits all properties from the `source` material, maintaining consistency between them.1 parent 48bf0c3 commit f53df7c
File tree
1 file changed
+1
-0
lines changed- com.microsoft.mrtk.graphicstools.unity/Runtime/Utilities
1 file changed
+1
-0
lines changedLines changed: 1 addition & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
51 | 51 | | |
52 | 52 | | |
53 | 53 | | |
| 54 | + | |
54 | 55 | | |
55 | 56 | | |
56 | 57 | | |
| |||
0 commit comments