-
Notifications
You must be signed in to change notification settings - Fork 1
Open
Labels
Description
Hi @rosecodym, I was playing around with the editor and realized that adding a new gas material (Add component button) crashes the app with error: System.ArgumentException: 'Property set method not found.' at line 84 in this loop:
basilisk/LibraryEditor/ViewModels/ActionBarViewModel.cs
Lines 78 to 86 in 30506ea
| foreach (var prop in type.GetProperties()) | |
| { | |
| object def; | |
| if (localDefaults.TryGetValue(prop.Name, out def) || | |
| sourceDefaults.TryGetValue(prop.Name, out def)) | |
| { | |
| prop.SetValue(newComponent, def); | |
| } | |
| } |
Reactions are currently unavailable