Skip to content

Commit

Permalink
fixed factory-create_new
Browse files Browse the repository at this point in the history
  • Loading branch information
Roberto De Ioris committed Jan 17, 2017
1 parent 18cae72 commit 5559b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Source/UnrealEnginePython/Private/UEPyEditor.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1105,7 +1105,7 @@ PyObject *py_ue_factory_create_new(ue_PyUObject *self, PyObject * args) {
return PyErr_Format(PyExc_Exception, "unable to create package");

UFactory *factory = (UFactory *)self->ue_object;
UClass *u_class = self->ue_object->GetClass();
UClass *u_class = factory->GetSupportedClass();

char *obj_name = strrchr(name, '/') + 1;
if (strlen(obj_name) < 1) {
Expand Down

0 comments on commit 5559b02

Please sign in to comment.