20tab / UnrealEnginePython

Embed Python in Unreal Engine 4
MIT License
2.77k stars 754 forks source link

Fix renaming issue with remove component #749

Open michaeltchapman opened 5 years ago

michaeltchapman commented 5 years ago

If a component is removed and then re-added with the same name this will cause a crash since the old name will still be in use. Copied the node removal code from the editor to add renaming to avoid this