Skip to content

Dev/e3d cpp#227

Draft
marcinn wants to merge 6 commits into
mainfrom
dev/e3d-cpp
Draft

Dev/e3d cpp#227
marcinn wants to merge 6 commits into
mainfrom
dev/e3d-cpp

Conversation

@marcinn
Copy link
Copy Markdown
Member

@marcinn marcinn commented May 5, 2026

Review notes

  • ported by AI - needs check
  • crashes during hot-reload

Hot-reload Crashes

Potential source:

  • E3DModelInstance in c++ will be unloaded and unregistered during hot-reload
  • E3DModelInstance holds raw pointer to the current instancer; pointer may not be nullptr and still referencing to already deleted instancer
  • NodebankGridItem holds reference to E3DModelInstances
  • Architecture of instancers called directly from E3DModelInstance seems to be wrong. Consider implementing E3DRenderingServer; in E3DModelInstance store only RID

marcinn added 6 commits May 5, 2026 22:30
Incldues:
* game objects browser in the editor (nodebank browser)
* SceneryResourceLoader removal and threaded scene loading (picked from
  main-unstable)
* cleaning the code of Cabin3D
* compatibility fixes in RailVehicle3D (related to E3DModelInstance
  changes)
* MaszynaEditorPluginDelegate interface
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Reimplement MaterialManager and MaterialParser

1 participant