Commit Graph

11338 Commits

Author SHA1 Message Date
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
Ruslan Mustakov e967dbca6f Fix TileMap and TileSet ClassDB bindings 2017-11-24 11:43:15 +07:00
sersoong feb45aaf4b Fix context menu of first node in a new scene 2017-11-24 12:32:57 +08:00
Ruslan Mustakov 871deb6878 Allow to specify multiple resolution Android icons 2017-11-24 11:19:22 +07:00
Ralph Minderhoud 2399d11e27 Fix read bug in compressed bone weights 2017-11-23 21:52:14 -06:00
Ferenc Arn 0ca9181ee8 Rename two-parameter arc-tangent function to atan in shader language, as it is in GLSL.
Fixes #13214.
2017-11-23 21:19:11 -05:00
Rémi Verschelde 6086252f66
Merge pull request #13221 from Paulb23/fix_unfolding_last_line
Fixed not be able to unfold the last line
2017-11-23 21:59:29 +01:00
Rémi Verschelde 4feeca0021
Merge pull request #13220 from dragmz/patch-1
reduce static memory usage
2017-11-23 21:51:37 +01:00
Paulb23 f6f475e6ba Fixed not be able to unfold the last line 2017-11-23 20:37:08 +00:00
dragmz b20bb8615f
reduce static memory usage
fixes #13217
2017-11-23 21:16:18 +01:00
Rémi Verschelde 3a33725014
Merge pull request #13209 from GodotExplorer/debugger-a
Improved update for remote scene tree and remote object.
2017-11-23 17:10:49 +01:00
Rémi Verschelde ee3179fc5c
Merge pull request #13212 from AndreaCatania/margin
Removed shape margin
2017-11-23 15:01:13 +01:00
AndreaCatania 0a0800ebec Removed shape margin 2017-11-23 14:42:28 +01:00
Rémi Verschelde 949871cba6
Merge pull request #13194 from TwistedTwigleg/docs_remote_transforms
Changed documentation for RemoteTransform and RemoteTransform2D
2017-11-23 14:34:42 +01:00
Rémi Verschelde f2d07d5aeb
Merge pull request #13205 from TheSofox/ParallaxLayer_mirroring_regression_fix
Fixed #13167. Restored ParallaxLayer mirroring that was broken by pull request #12421
2017-11-23 09:32:27 +01:00
Rémi Verschelde 3fffe6ccb4
Merge pull request #13202 from AndreaCatania/master
Space override scratching when body is add to world
2017-11-23 09:30:27 +01:00
geequlim 9ef720908f Improved update for remote scene tree and remote object. 2017-11-23 15:23:24 +08:00
Sofox 3551fc6af0 Fixed #13167. Restored ParallaxLayer mirroring that was broken by pull request #12421 2017-11-23 01:52:34 +00:00
AndreaCatania 8de4df3fe2 Space override scratching when body is add to world
Fixes #13182
2017-11-23 01:26:49 +01:00
TwistedTwigleg e39386ed87 Changed and added to the documentation for RemoteTransform and RemoteTransform2D 2017-11-22 16:00:53 -05:00
Juan Linietsky 62d86b1588 Modified low processor sleep to 8000 and made it customizable (should be customizable for editor too) 2017-11-22 14:41:45 -03:00
Juan Linietsky 81213917d1 change default propagation value 2017-11-22 14:41:45 -03:00
Rémi Verschelde ba891a0e8b
Merge pull request #13143 from willnationsdev/list-insert-before-after-fix
Fixes List<T>::insert_before/after
2017-11-22 18:18:25 +01:00
Rémi Verschelde 2ea5ac17e8
Merge pull request #13159 from AndreaCatania/ray
Removed type_mask and fixed some variable name
2017-11-22 16:40:20 +01:00
Rémi Verschelde 09153f1143
Merge pull request #12129 from willnationsdev/duplicate-fix
Node.duplicate(): instanced node's descendants' props = original's runtime values.
2017-11-22 15:42:31 +01:00