mirror of
https://github.com/tiennm99/godot.git
synced 2026-08-23 18:25:17 +00:00
-added custom metadata to physics shapes (2D only for now)
-gizmos are not displayed in camera preview
This commit is contained in:
+2
-1
@@ -756,7 +756,8 @@ Camera::Camera() {
|
||||
mode=PROJECTION_PERSPECTIVE;
|
||||
set_perspective(60.0,0.1,100.0);
|
||||
keep_aspect=KEEP_HEIGHT;
|
||||
layers=0xFFFFFFFF;
|
||||
layers=0xfffff;
|
||||
VisualServer::get_singleton()->camera_set_visible_layers(camera,layers);
|
||||
//active=false;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user