mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
-added custom metadata to physics shapes (2D only for now)
-gizmos are not displayed in camera preview
This commit is contained in:
parent
6e87c80e41
commit
371eac9bef
16 changed files with 86 additions and 6 deletions
|
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue