-
-
Notifications
You must be signed in to change notification settings - Fork 21.9k
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
Fix some additional errors with 3D disabled #88704
Conversation
Gonna add some minor fixes to error prints that just clutters, intended behavior Edit: These are actually 3D only classes so will remove those tests Edit 2: Done, will look at some of the |
a02f9ce
to
b11fe34
Compare
b11fe34
to
dd68b9e
Compare
* Disabled 2D navigation tests as they do not work * Disabled tests for primitive meshes * Unbound some `Mesh` methods that rely on 3D resources * Unexposed `World3D` as it depends on physics (and isn't useful) * Unexposed some `Viewport` vrs related properties that had unexposed methods
dd68b9e
to
3a707b1
Compare
#ifndef _3D_DISABLED | ||
Engine::get_singleton()->add_singleton(Engine::Singleton("PhysicsServer3D", PhysicsServer3D::get_singleton(), "PhysicsServer3D")); | ||
#endif // _3D_DISABLED |
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.
This is only accidentally included via world_3d.h
but it's broken and will likely crash (haven't tested if it does)
Thanks! |
Thank you! |
Mesh
methods that rely on 3D resourcesWorld3D
as it depends on physics (and isn't useful)Viewport
vrs related properties that had unexposed methodsWith these changes tests run equivalently in
template_debug
to the normal build, and with the tests forClassDB
this should indicate that all the methods exposed in this build works correctly at least in that their arguments and return values are exposed typesEdit: Fixed some includes