m2u / m2uUE4Plugin

m2u Unreal Engine 4 Plugin C++ code
MIT License
43 stars 64 forks source link

Make mass operations like selection and duplication faster (currently only one operation per tick) #4

Open alfalfasprossen opened 7 years ago

alfalfasprossen commented 7 years ago

This requires changing how those messages are being transmitted. Even a batch-operation for duplication can only do one operation per 'tick' if it requires sending a response for each successful duplication. We need the response to be able to react to in-editor name changes though. Sending a 'batch' response might be an option though.

Also operations tend to take a long time because of maybe unnecessary in-editor update operations. Those can generally be delayed until the last operation is executed i.e. before sending the response.

alfalfasprossen commented 7 years ago

I sped up selection and duplication operations themselves, but they still depend on getting a 'free name' from the editor. So, getting the free names or generally syncing the names for multiple objects, might need some improvements as well.