Fix error during new json asset creation via ContentContextMenu if the class is missing empty constructor
#1838
This commit is contained in:
@@ -187,7 +187,7 @@ namespace FlaxEditor.Windows
|
||||
continue;
|
||||
|
||||
// Get context proxy
|
||||
ContentProxy p;
|
||||
ContentProxy p = null;
|
||||
if (type.Type.IsSubclassOf(typeof(ContentProxy)))
|
||||
{
|
||||
p = Editor.ContentDatabase.Proxy.Find(x => x.GetType() == type.Type);
|
||||
|
||||
Reference in New Issue
Block a user