-
-
Notifications
You must be signed in to change notification settings - Fork 21.3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Deprecate ImmediateGeometry #50014
Deprecate ImmediateGeometry #50014
Conversation
reduz
commented
Jun 30, 2021
- Removed entirely from RenderingServer.
- Replaced by ImmediateMesh resource.
- ImmediateMesh replaces ImmediateGeometry, but could use more optimization in the future.
- Sprite3D and AnimatedSprite3D work again, ported from Godot 3.x (though a lot of work was needed to adapt them to Godot 4).
- RootMotionView works again.
- Polygon3D editor works again.
0738fe8
to
cc0a2a2
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks mostly good from an overall review. Just noticed some code-style regressions and a possible function rename.
* Removed entirely from RenderingServer. * Replaced by ImmediateMesh resource. * ImmediateMesh replaces ImmediateGeometry, but could use more optimization in the future. * Sprite3D and AnimatedSprite3D work again, ported from Godot 3.x (though a lot of work was needed to adapt them to Godot 4). * RootMotionView works again. * Polygon3D editor works again.
🥳 |
Thanks! |
@reduz I'm trying to test this but can't seem to be able to attach a script as it says "Script inherits from native type 'ImmediateMesh', so it can't be instantiated in object of type 'Node'. I understand that it's the wrong Node type, but I can't find what Node it should actually be in the 'Change Node Type' list. |
ImmediateMesh is a resource (like ArrayMesh, BoxMesh, …), not a node. Resource doesn't inherit from Node. |