Commit graph

2796 commits

Author SHA1 Message Date
Rémi Verschelde
a3fe19dd10
Merge pull request #21252 from vnen/remove-autoload-init
Disable scripting and physics early in EditorNode
2018-08-21 23:42:26 +02:00
Rémi Verschelde
4bf15d8090
Merge pull request #21236 from dragmz/windows-graceful-close
Try closing gracefully before terminating process
2018-08-21 22:47:21 +02:00
Juan Linietsky
0a8ac1a57c display some constants as hex 2018-08-21 17:13:16 -03:00
Rémi Verschelde
404ee1a56b Style: Fix issues that went past CI 2018-08-21 21:28:06 +02:00
Juan Linietsky
e20864c340 Clipped camera implementation, a camera that avoids going into geometry. 2018-08-21 11:48:48 -03:00
George Marques
ed3776c6a4
Disable scripting and physics early in EditorNode
This avoids issues with scripts being instanced before this is set, like
autoloads.
2018-08-20 21:55:01 -03:00
Rémi Verschelde
5dc2b12efa
Merge pull request #21241 from dragmz/reset-debugger-reason
Reset reason text when no longer connected
2018-08-21 00:12:25 +02:00
Rémi Verschelde
ad8a6b10b5
Merge pull request #21220 from Noshyaar/import-crash
Fix crash while importing corrupt wav
2018-08-21 00:10:06 +02:00
Rémi Verschelde
35d232b100
Merge pull request #21228 from Noshyaar/docs-bind
Fix arg name in docs, some copy-paste errors
2018-08-21 00:08:05 +02:00
Rémi Verschelde
cc3ccf7caa
Merge pull request #21234 from guilhermefelipecgs/fix_inspector_capitalize
[EditorInspector] Fix ImportDock and ProjectExport capitalize
2018-08-21 00:07:15 +02:00
Marcin Zawiejski
ca1c851dbd Try closing gracefully before terminating process
Use a Microsoft recommended way of process termination for the project
process run from the editor. This allows loaded DLLs to receive and handle
DLL_PROCESS_DETACH notification and cleanup any global state before the
process actually exits.
2018-08-20 22:41:06 +02:00
Guilherme Felipe
50326a0077 [EditorInspector] Fix ImportDock and ProjectExport capitalize 2018-08-20 17:07:02 -03:00
Poommetee Ketson
ec68822cd7 Fix crash while importing corrupted wav
Line 199 does division with 'bits per sample' but the check for
0 is missing.
2018-08-21 02:06:22 +07:00
Poommetee Ketson
76adef2704 Fix arg name in docs, some copy-paste errors 2018-08-21 01:51:19 +07:00
Marcin Zawiejski
ce73b56adb Reset reason text when no longer connected
Resets the "Child Process Connected" when the child process is no longer
connected.
2018-08-20 20:46:14 +02:00
Hugo Locurcio
dd4fe8588b
Fix occasional crash when downloading assets from the Asset Library
This is caused by GitHub not publishing a Content-Length header in
all cases (it only does so if the file was requested recently),
which in turn made `String.humanize_size()` try to humanize a size of
-1 byte (as returned by HTTPRequest when no Content-Length
is contained in the response).
This crashed the editor due to a division by zero.

This closes #21200.
2018-08-20 20:21:56 +02:00
Juan Linietsky
c1bd768ca2
Merge pull request #18822 from QbieShay/master
Added spring arm node
2018-08-20 14:21:04 -03:00
Juan Linietsky
c7e4527a88 Massive rewrite to AnimationTree. Many APIs changed in order to:
-Reuse resources
-Expose properties in AnimationTree
2018-08-20 13:39:16 -03:00
Rémi Verschelde
75e540ce72
Merge pull request #21148 from akien-mga/placeholder_text_hint
Add PROPERTY_HINT_PLACEHOLDER_TEXT for String properties
2018-08-20 17:15:03 +02:00
Hein-Pieter van Braam
e9a35c2c6b Remove a stray semicolon
This was causing a lot of compiler warnings for no good reason.
2018-08-20 15:02:09 +02:00
Rémi Verschelde
661c9ece7c Add PROPERTY_HINT_PLACEHOLDER_TEXT for String properties
Use it to provide a better example for application identifiers
on Android, iOS and macOS, where users thought they *had* to use
this as a magic token.
2018-08-20 13:48:05 +02:00
Rémi Verschelde
e7c5aca040 Port ImportDock and ProjectExport to new property editor (2nd try)
Thanks to @ibrahn for helping debug the crashes caused in ProjectExportDialog
by the stray `update_tree()` call, no longer needed in the new inspector.
2018-08-20 10:07:06 +02:00
Rémi Verschelde
15433cffe7
Merge pull request #21195 from AlexHolly/search-help-selection-color
changed search help selection color
2018-08-20 09:17:41 +02:00
Rémi Verschelde
e746be7aa9
Merge pull request #21166 from Zylann/find_in_files_improvement
Find in Files improvements
2018-08-20 09:13:03 +02:00
Alexander Holland
5ba083ea1b changed search help selection color 2018-08-19 22:06:20 +02:00
Marc Gilleron
09c55f43cf Find in Files improvements
- Search results are now grouped by file using a Tree control
- You can opt out occurences when using replace mode
- Double-check search results in case files have been tampered with, so occurrences don't get badly replaced
- Fixed replace bug when an occurrence is found twice in one line
2018-08-19 19:24:39 +01:00
Rémi Verschelde
5d09877da8
Merge pull request #21154 from Chaosus/grid_2d_color
Added setting to change color of 2d editor grid
2018-08-19 14:17:55 +02:00
Rémi Verschelde
88cb039f39
Merge pull request #21129 from Calinou/fix-3d-grid-origin-flicker
Fix the 3D grid flickering when the origin is enabled
2018-08-19 14:15:24 +02:00
Rémi Verschelde
94908f08e5
Merge pull request #20893 from guilhermefelipecgs/invert_depth_map
Add option to convert from height map to depth map
2018-08-19 09:57:30 +02:00
Chaosus
66c25d4829 Added possibility to change color of 2d editor grid 2018-08-19 10:04:16 +03:00
Rémi Verschelde
8bc9986db4
Merge pull request #21155 from ordigdug/fix-colorpicker-popup
Fixes colorpicker popup immeditately closing when interacting with co…
2018-08-18 22:48:29 +02:00
Poommetee Ketson
f19446622a Fix args count mismatch in property_changed signal
...when editing Dictionary/Array property
2018-08-19 03:35:51 +07:00
DualMatrix
8ad251b331 Fixed text entry is going in reverse
Fixed text entry is going in reverse, this undoes what seems to be a mistake in #20400 and fixes #21061
2018-08-18 20:23:54 +02:00
ordigdug
17b439844d Fixes colorpicker popup immeditately closing when interacting with colorpicker property in a subinspector. Fixes #19559 2018-08-18 11:47:14 -04:00
Rémi Verschelde
b3246f13d1
Revert "Port ImportDock and ProjectExport to new property editor" 2018-08-18 15:24:31 +02:00
Rémi Verschelde
0a3d874efd Port ImportDock and ProjectExport to new property editor 2018-08-18 15:07:23 +02:00
QbieShay
bb14ef5623 added spring arm node. 2018-08-18 14:34:42 +02:00
Hugo Locurcio
442029b1c0
Fix the 3D grid flickering when the origin is enabled 2018-08-17 23:22:03 +02:00
Guilherme Felipe
72104161db [Texture Importer] Add option to invert color 2018-08-17 13:55:33 -03:00
Rémi Verschelde
5542d4a830 Export dialog: Fix error color and link alignment
Also fix extraneous "- " line when there are more than 2 messages.
2018-08-17 11:35:05 +02:00
Chaosus
0d16ffbcaa Fix error icon color 2018-08-17 09:19:44 +03:00
Markar
e46c2dbf74 Fix bucket fill behaviour when selecting multiple tiles 2018-08-17 01:55:21 +02:00
Rémi Verschelde
134d071ca7
Merge pull request #21046 from DualMatrix/recent_custom_type
Fixed custom nodes not working with favorites and recently used
2018-08-16 18:28:03 +02:00
Rémi Verschelde
e06825ba4b
Merge pull request #21067 from natrim/Particles2D_AABB
Particles2D: set emitting if not set before generating Visibility Rect
2018-08-16 18:27:23 +02:00
DualMatrix
9896b7bbf9 Fixed custom nodes not working properly with favorites and recently used in create node window. 2018-08-16 17:14:52 +02:00
Rémi Verschelde
ba47f15b78 Fix crash assigning script to a Resource
We were dereferencing the wrong identifier, which could be NULL.
Fixes #19289, supersedes and closes #20985.
2018-08-16 15:40:06 +02:00
Natrim
e11e080fa2 Particles2D: set emitting if not set before generating Visibility Rect
and removed not needed running zeroing
 in ParticlesEditor::_generate_aabb
2018-08-16 15:35:12 +02:00
Chaosus
4fdb8ebdec Fix debugger icon for warnings 2018-08-16 08:50:42 +03:00
Rémi Verschelde
1c17c2b9b3
Merge pull request #21023 from Paulb23/fix_reopening_text_file
Fix re-opening of TextFiles when its already being edited.
2018-08-15 23:16:19 +02:00
Rémi Verschelde
bec8c7770c
Merge pull request #21022 from Paulb23/create_text_files
Ability to create TextFiles.
2018-08-15 23:15:14 +02:00