Commit graph

11515 commits

Author SHA1 Message Date
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
Rémi Verschelde
f5c513ca7b doc status: Partial revert of e23454d, setgets are no longer listed 2017-11-24 18:25:56 +01:00
Rémi Verschelde
92f07fefcd doc: Remove setters and getters now exposed via properties/members 2017-11-24 18:10:32 +01:00
volzhs
452af98995 Better number format for memory usage 2017-11-25 02:09:32 +09:00
Juan Linietsky
31f62f53c5 Fix block where setter/getters are cached to be skipped 2017-11-24 14:00:01 -03:00
Juan Linietsky
60de407262 Add a bit space around the .import [deps] tag to make it more readable. 2017-11-24 14:00:01 -03:00
Rémi Verschelde
69aa29bbb3
Merge pull request #13249 from godotengine/Noshyaar-kcdocs
Fix a mistake in KinematicCollision docs

[ci skip]
2017-11-24 17:48:04 +01:00
Juan Linietsky
bb83c7d6b7 Changed reimport logic to also check md5 before reimporting, fixes #13135
Has the nice side effect that you can share your .import folder or rename
your project and godot wont reimport stuff.
2017-11-24 13:39:41 -03:00
Poommetee Ketson
c5a025c5e3
Fix a mistake in KinematicCollision docs 2017-11-24 23:35:45 +07:00
Juan Linietsky
f6139c2cfc Attempt to remove setters/getters from doc data 2017-11-24 12:33:28 -03:00
Gilles Roudiere
2a0a56443d Remove option for the rulers graduations font size 2017-11-24 16:11:03 +01:00
Rémi Verschelde
3d0aec7a81
Merge pull request #13244 from bojidar-bg/13243-get-static-indexed
Fix a crash in get_static_property_type_indexed
2017-11-24 15:07:24 +01:00
Bojidar Marinov
0b63e84566
Fix a crash in get_static_property_type_indexed
Fixes #13243
2017-11-24 15:26:32 +02:00
Gilles Roudiere
1406fb6ede
Merge pull request #13241 from GodotExplorer/pr-menu-button-theme
Fix style error with MenuButton in default theme
2017-11-24 13:53:10 +01:00
geequlim
f3588b6b65 Fix style error with MenuButton in default theme 2017-11-24 19:31:20 +08:00
Dmitry Koteroff
aa20a84aa9 Implemented a collapse/expand all feature request for Inspector (issue #9427) via popup of "Object properties" button.
Editor Settings->Interface->Editor: added "Expand All Properties" option. Off by default.

Cosmetics fixes due to @Reduz notes.
2017-11-24 14:08:44 +03:00
Rémi Verschelde
bc75fae579 doc: Update header version for 3.0-beta 2017-11-24 09:16:52 +01:00
Rémi Verschelde
15ada56d73 doc: Sync classref with current source 2017-11-24 09:16:27 +01:00
Rémi Verschelde
679b64fe48
Merge pull request #13232 from endragor/android-multiple-icons
Allow to specify multiple resolution Android icons
2017-11-24 08:07:28 +01:00
Rémi Verschelde
cbcf31f0b9
Merge pull request #13229 from sersoong/master-test
3.0 - Fix context menu of first node in a new scene
2017-11-24 08:06:29 +01:00
Poommetee Ketson
762a4b4dec
Merge pull request #13227 from tagcup/shader_atan2
Rename two-parameter arc-tangent function to atan in shader language,…
2017-11-24 13:38:49 +07:00
Poommetee Ketson
0b93d0676d
Merge pull request #13231 from endragor/tile-bindings-fix
Fix TileMap and TileSet ClassDB bindings
2017-11-24 13:20:23 +07:00