Commit Graph

11384 Commits

Author SHA1 Message Date
Juan Linietsky
9cf44c1c53 Disable logger by default. 2017-11-26 14:58:30 -03:00
Rémi Verschelde
c0dde9e850
Merge pull request #13315 from dragmz/patch-2
initialize bus_index to 0
2017-11-26 18:32:11 +01:00
Marcin Zawiejski
86ed07c41c
initialize bus_index to 0
fixes #13305
2017-11-26 18:16:31 +01:00
Juan Linietsky
4c660cfffb
Merge pull request #13312 from volzhs/fix-android-shader-error
Fix shader compilation fail on Android
2017-11-26 13:49:53 -03:00
volzhs
b97e87480e Fix shader compilation fail on Android
Error message from logcat

**ERROR**: SceneShaderGLES3: Fragment Program Compilation Failed:
50:471: S0032: no default precision defined for parameter 'probe'
   At: drivers/gles3/shader_gles3.cpp:167:_display_error_with_code() - SceneShaderGLES3: Fragment Program Compilation Failed:
2017-11-27 01:15:39 +09:00
Dmitry Koteroff
b8b5bb6577 Scene Tree Dock: added ability to deselect items when clicking on empty space 2017-11-26 18:30:48 +03:00
Michael Alexsander Silva Dias
8987f932d6 Fix not being able to select an editor layout created in another language. 2017-11-26 13:27:48 -02:00
Rémi Verschelde
21ef922c5c
Merge pull request #13303 from rraallvv/scons_cache_travis
Enable SCons shared cache for Travis CI (master)
2017-11-26 15:56:46 +01:00
Rhody Lugo
17e9b4aa63 add support for scons cache and enable it for travis 2017-11-26 10:21:09 -04:00
Rémi Verschelde
051f761a87
Merge pull request #13299 from rraallvv/scons_cache
Enable SCons shared cache for AppVeyor CI (master)
2017-11-26 15:09:02 +01:00
Rémi Verschelde
b0e556d1a7
Merge pull request #13289 from sketchyfun/3d_selection_fix
Fixed issue with 3D selections
2017-11-26 14:55:56 +01:00
Poommetee Ketson
304d31b7d2
Merge pull request #13293 from Calinou/tweak-editor-camera-defaults
Tweak the default editor camera settings
2017-11-26 20:53:45 +07:00
Poommetee Ketson
f2c1fd2e8f
Merge pull request #13295 from Calinou/tweak-camera-node-defaults
Tweak the default camera node settings
2017-11-26 20:53:28 +07:00
Rémi Verschelde
45d1f9a690
Merge pull request #13288 from RandomShaper/fix-dup-crash
Fix crash on node duplication
2017-11-26 14:45:31 +01:00
Rhody Lugo
428b6a308e add support for scons cache and enable it for appveyor 2017-11-25 22:15:22 -04:00
Poommetee Ketson
2f3c4c94da
Merge pull request #13284 from dragmz/patch-2
Fix constant node value edit
2017-11-26 08:10:57 +07:00
Hugo Locurcio
541df26184
Tweak the default camera node settings
- Increase FOV to 70
- Put the Z-near plane at 0.05 meters
2017-11-25 23:48:30 +01:00
Hugo Locurcio
e3fc6fcaa6
Tweak the default editor camera settings
- The default FOV is now 70
- The default Z-near plane is now at 0.05 meters
2017-11-25 23:03:26 +01:00
Marcin Zawiejski
57f34abea1 Fix constant node value edit 2017-11-25 22:28:59 +01:00
Thomas Herzog
73a26b4c3f
Merge pull request #13286 from touilleMan/gnative-wrappers-msvc-flags
[GDNative] disable -fPIC flag with msvc compiler
2017-11-25 21:16:07 +01:00
BenH
dd5037ba82 Fixed issue with 3D selections losing precsion due to an offset bug 2017-11-25 20:14:54 +00:00
Pedro J. Estébanez
922cf9fbb0 Fix crash on node duplication
That happened when an instanced scene was being duplicated while it also contained nodes added to it in the scene holding the instance.

Plus:
- Add comments about the logic behind all this.
- Move the null guard to where it can protect the most, but consider it a runtime error rather that a situation we expect.

Fixes #13282.
2017-11-25 21:14:35 +01:00
Emmanuel Leblond
6e3d78c94c
[GDNative] disable -fPIC flag with msvc compiler 2017-11-25 20:26:42 +01:00
Juan Linietsky
9738ebcda0 -Fixed height fog (was broken)
-Make sure materials are named in OBJ importer, so they can be saved outside as resources.
2017-11-25 12:32:41 -03:00
Rémi Verschelde
e1cf789593
Merge pull request #13278 from eska014/jseval-returntypes
Remove contrived JavaScript.eval() return types
2017-11-25 15:59:43 +01:00
Leon Krause
b24df892fe Update my name in AUTHORS.md 2017-11-25 15:41:40 +01:00
Eric Wiltfang
57845b53f3 Fix particle preprocessing. Fixes #12460.
Remove an incorrect check likely left over from copying from the
normal fixed_fps update case.

Also makes sure that the preprocessing_time is always fully simulated,
rather overshooting the mark than stopping early.
2017-11-25 15:41:14 +01:00
Leon Krause
8de25d6e62 Remove contrived JavaScript.eval return types 2017-11-25 15:38:02 +01:00
Pedro J. Estébanez
d0e09d84f0 Implement onion skinning for the animation editor 2017-11-25 13:25:14 +01:00
Rémi Verschelde
aa5f7e0ff2 Fix mono build after bc2e8d99 2017-11-25 12:16:58 +01:00
Rémi Verschelde
d9faf6f2f4 Fix build on macOS and Android after bc2e8d99 2017-11-25 10:42:20 +01:00
Rémi Verschelde
faf5ac8d54
Merge pull request #13263 from sersoong/master-test
3.0beta - Fixed doesn't close open a file window bug
2017-11-25 10:32:38 +01:00
Zatherz
1937fd5e07 Add range to anisotropic filter level (1 to 16 with integer steps) 2017-11-25 06:49:23 +01:00
sersoong
c8d6a3b6dc Fix doesn't close open a file window bug 2017-11-25 13:03:43 +08:00
Juan Linietsky
66a8a07c2c Add importer option to make meshes bakeable by default. 2017-11-25 01:29:35 -03:00
Juan Linietsky
2c7b4c2053
Merge pull request #13261 from ISylvox/fix-windows-build
Complete bc2e8d9 so that Windows can be built
2017-11-25 01:28:36 -03:00
Indah Sylvia
ac92c147c6 Completed bc2e8d99e5 so that windows can be built 2017-11-25 11:12:07 +07:00
Juan Linietsky
bc2e8d99e5 Made Vector::ptrw explicit for writing, compiler was sometimes using the wrong function,
leading to unnecesary copy on writes and reduced performance.
2017-11-25 00:09:40 -03:00
Pedro J. Estébanez
1964d5fddd Improve/fix SpatialEditor state saving/restoring 2017-11-25 02:18:28 +01:00
Pedro J. Estébanez
81c49fb536 Update clang-format in modified files 2017-11-25 02:18:28 +01:00
Pedro J. Estébanez
3aa79fc1a3 Add ability to opt-out buffer swapping in VS::draw() 2017-11-25 02:18:28 +01:00
Pedro J. Estébanez
ff03a0bc7b Implement backup/restore for animated values 2017-11-25 02:18:28 +01:00
Paulb23
76a53aa328 Restore scenes on startup, issue 2385 2017-11-24 23:32:54 +00:00
Rémi Verschelde
7dfba3cda9 doc: Fix enum tags thanks to 2bc6db6 2017-11-24 23:16:30 +01:00
Juan Linietsky
2bc6db65c1 Fixes bug where enumeration is not being saved 2017-11-24 18:44:13 -03:00
Pedro J. Estébanez
3f31925b18 Universalize draw-over API for EditorPlugins
- Now it is usable from both `CanvasItem` and `Spatial` editors.
- `EditorPlugin` API changes:
 - `forward_draw_over_canvas()` becomes `forward_draw_over_viewport()`.
 - `update_canvas()` becomes `update_overlays()`, which now triggers the update of every overlay on top of any 2D or 3D viewports present. Also now it returns the number of such viewports, which is useful whenever you need to know the number of draw-over calls you'll get.
 - New: `[set/is]_force_draw_over_forwarding_enabled()` to force overlaying regardless it handles the current object type, in a similar fashion as `[set/is]_input_event_forwarding_always_enabled`. This kind of overlay is also on top of those for regular handled node types.
 - New: `forward_force_draw_over_canvas()`, which is the callback that gets called for plugins that enable forced overlaying.
2017-11-24 21:24:15 +01:00
Hugo Locurcio
a86db9b347
Tweak editor help font sizes for better readability 2017-11-24 19:57:02 +01:00
Rémi Verschelde
2e5dfbdb4b
Merge pull request #13253 from Hinsbart/bind_gesture_events
Bind InputEventGesture events.
2017-11-24 19:27:07 +01:00
Andreas Haas
c76a9b99b0
Core: Bind InputEventGesture events. 2017-11-24 19:23:04 +01:00
Dmitry Koteroff
e3b0214f40 A few small adjustments to file dialogs:
a) Added Backspace key support for Tree-based file dialog.
b) Fixed issue inability to select a folder in project manager (always previous folder was selected instead).
c) Open Directory mode: changed "Open" to "Select Current Folder"
d) Block "Open" button when inappropriate content is selected (for example, file when in open folder mode, or folder when in open files mode)
2017-11-24 21:21:55 +03:00