-added custom metadata to physics shapes (2D only for now)

-gizmos are not displayed in camera preview
This commit is contained in:
Juan Linietsky 2014-10-16 00:06:34 -03:00
parent 6e87c80e41
commit 371eac9bef
16 changed files with 86 additions and 6 deletions

View file

@ -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;
}