Skip to content

Commit 4ec317a

Browse files
author
Roberto De Ioris
authored
Update WritingAColladaFactoryWithPython.md
1 parent 9671136 commit 4ec317a

File tree

1 file changed

+6
-1
lines changed

1 file changed

+6
-1
lines changed

tutorials/WritingAColladaFactoryWithPython.md

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -289,8 +289,11 @@ from unreal_engine import SWindow, SVerticalBox, SHorizontalBox, SButton, SRotat
289289
from unreal_engine.enums import EHorizontalAlignment
290290

291291
...
292+
def PyFactoryCreateFile(self, uclass: Class, parent: Object, name: str, filename: str) -> Object:
293+
294+
...
292295

293-
def open_collada_wizard(self):
296+
def open_collada_wizard(self):
294297

295298
def cancel_import():
296299
self.wizard.request_destroy()
@@ -356,6 +359,8 @@ def PyFactoryCreateFile(self, uclass: Class, parent: Object, name: str, filename
356359
....
357360
```
358361

362+
Re running the import will result in this wizard:
363+
359364
![Import options](https://github.com/20tab/UnrealEnginePython/blob/master/tutorials/WritingAColladaFactoryWithPython_Assets/import_options.png)
360365

361366

0 commit comments

Comments
 (0)