Poommetee Ketson
4950ef7478
Fix double single quotes in connect
error print
2017-08-27 00:46:33 +07:00
Henrik Andersson
3cd3c1da5f
Fix refactored Object::cast_to in NO_SAFE_CAST branch
2017-08-26 18:59:37 +02:00
Poommetee Ketson
5e889cce4f
Tree: fix RMB click collapses next item
2017-08-26 23:55:43 +07:00
Rémi Verschelde
9f1e3903df
Merge pull request #10648 from Xrayez/image-get-size
...
Add handy get_size() method to Image class
2017-08-26 18:37:08 +02:00
Rémi Verschelde
9d7945250e
Merge pull request #10649 from akien-mga/code-error-always-show
...
Code editor: Don't play hide and seek with error label
2017-08-26 18:23:42 +02:00
Rémi Verschelde
2a1a1f05fe
Merge pull request #10656 from akien-mga/cleanup-commented-out-code
...
Cleanup tons of obsolete commented out code
2017-08-26 18:21:08 +02:00
Rémi Verschelde
3c5ce736e6
Node: Add debug info to add_child reparenting check
...
Use it to remove buggy add_child in EditorAudioBus
2017-08-26 18:14:42 +02:00
Rémi Verschelde
a009ab4580
Merge pull request #10652 from Noshyaar/pr-audio
...
EditorAudioBus: Rename delete_popup, disable delete for Master
2017-08-26 18:06:30 +02:00
Poommetee Ketson
473695ab47
Monitor: add hint, fix certain graph not drawn
...
Add a hint that helps user discover monitor graph
Fix last row drawn outside when only one graph is in that row
2017-08-26 23:02:52 +07:00
Rémi Verschelde
565600e844
Cleanup tons of obsolete commented out code
...
Mostly in EditorNode, dropping some obsolete editor plugins and also a
cleanup of ProjectSettings/EditorSettings.
2017-08-26 17:47:57 +02:00
Poommetee Ketson
03db00e6f6
EditorAudioBus: Rename delete_popup, disable delete for Master
...
Rename `delete_popup` to `bus_popup`
Rename `_delete_pressed` to `_bus_popup_pressed`
Disable 'Delete Bus' option for Master Bus
2017-08-26 21:42:28 +07:00
Juan Linietsky
dd7145b778
-Split EditorPlugin into EditorPlugin and EditorInterface
...
-Added EditorInterface to EditorScript
-Added functions to save the scene to EditorInterface
2017-08-26 10:33:07 -03:00
Rémi Verschelde
b92c210b89
Code editor: Don't play hide and seek with error label
2017-08-26 14:43:20 +02:00
Andreas Haas
f634973acb
Merge pull request #10647 from Noshyaar/patch-1
...
ProjectSettings: Fix typo 'an setting' to 'a setting'
2017-08-26 14:27:28 +02:00
Juan Linietsky
fbfed97a1b
Changed camera interpolation to work when LMB is pressed and no modifiers are pressed
2017-08-26 09:10:57 -03:00
Andrii Doroshenko (Xrayez)
4de96518c8
Add handy get_size() method to Image class
2017-08-26 15:01:21 +03:00
Poommetee Ketson
e705236ad6
Fix typo 'an setting' to 'a setting'
2017-08-26 17:57:32 +07:00
Bernhard Liebl
1ea2b9be72
polygon2d realtime editing
...
editing nodes in the polygon2d editor now updates the polygon in realtime; the previous outline is shown, but this can be disabled via a new editor setting
2017-08-26 11:57:54 +02:00
Juan Linietsky
1894157c9f
-Massive clean up to gizmos
...
-Make sure handles are always visible (on top)
-Fixed instanced scene selection (should work properly now)
-Added interpolated camera
-Customizable gizmo colors in editor settings
2017-08-26 00:47:28 -03:00
Wilson E. Alvarez
bd257153dc
Free memory when Main::setup returns an error
2017-08-25 21:12:19 -04:00
Rémi Verschelde
d9e94fa0c3
Fix i18n bug in GridMap string
...
Regression from 6134d87
causing build issue on clang.
2017-08-25 20:55:33 +02:00
Rémi Verschelde
2879a173e3
DocData: Fix extraneous space in XML tag without enum hint
2017-08-25 20:25:23 +02:00
Rémi Verschelde
f75678a94f
Mi18n: erge translations with template
2017-08-25 19:00:03 +02:00
Rémi Verschelde
3034bbf908
i18n: Update template with current source
...
Additions: 254 msgids.
Deletions: 101 msgids.
2017-08-25 18:59:28 +02:00
Rémi Verschelde
c67984b561
i18n: Sync translations with Weblate
2017-08-25 18:57:11 +02:00
Andreas Haas
6134d8741d
Editor: Add some more translatable strings.
2017-08-25 18:49:45 +02:00
Juan Linietsky
a1c03a69d2
added finished signals to audio stream players, fixes #9928
2017-08-25 11:58:21 -03:00
Juan Linietsky
3061eca190
Removed old fp_adjust code that conflicts with clipped rects, fixes #9925
2017-08-25 10:40:29 -03:00
Juan Linietsky
90445aae67
Fixed opaque unshaded materials, they go through the regular opaque render list, closes #9917
2017-08-25 09:56:10 -03:00
Wilson E. Alvarez
1577f41653
Fixed several memory leaks
2017-08-25 08:47:05 -04:00
Rémi Verschelde
490aef9369
Merge pull request #10581 from hpvb/fix-gcc6+
...
Make cast_to a static member of Object.
2017-08-25 08:37:38 +02:00
Juan Linietsky
b1c0e45b03
Implemented, The Amazing Zylann Hack (tm), fixes #10603
2017-08-25 00:34:32 -03:00
Juan Linietsky
a7e8aa4053
Fix bug where not all previews are shown, closes #9895
2017-08-24 23:40:53 -03:00
letheed
a5d765db4f
fix shadow filter pcf5 implemented as pcf7
2017-08-25 02:34:28 +02:00
Letheed
61d3fb36e8
Allow to disable shadow gradients in Light2D
...
Currently the shadow gradient can't be disabled and always has a minimum value of 1.
I'm not sure why though, the default value seems to be 0 and the rasterizer checks for 0 [here](8fc6bb8f77/drivers/gles3/rasterizer_canvas_gles3.cpp (L1284)
) before enabling it.
Feels like a bug to me, but if there's a reason for that let me know.
As a side effect, this edit effectively changes the default value from 1 to 0 for new projects.
2017-08-24 23:35:19 +02:00
Hein-Pieter van Braam
cacced7e50
Convert Object::cast_to() to the static version
...
Currently we rely on some undefined behavior when Object->cast_to() gets
called with a Null pointer. This used to work fine with GCC < 6 but
newer versions of GCC remove all codepaths in which the this pointer is
Null. However, the non-static cast_to() was supposed to be null safe.
This patch makes cast_to() Null safe and removes the now redundant Null
checks where they existed.
It is explained in this article: https://www.viva64.com/en/b/0226/
2017-08-24 23:08:24 +02:00
Hein-Pieter van Braam
4aa2c18cb4
Add a static version of Object::cast_to()
...
This is to prepare to replace all instances of the member version of
cast_to().
2017-08-24 23:08:24 +02:00
Andreas Haas
f61e8695c9
GDScript: More reliable check if loading a template.
...
Prevents showing some useless parse errors in the console.
2017-08-24 22:08:23 +02:00
Rémi Verschelde
a518ed105c
Merge pull request #10610 from hpvb/ignore-gprof-files
...
Ignore gprof output files
[ci skip]
2017-08-24 19:27:44 +02:00
Rémi Verschelde
d73e88215a
Merge pull request #10609 from hpvb/ignore-eclipse-cdt-project-files
...
Ignore Eclipse CDT project files
[ci skip]
2017-08-24 19:27:00 +02:00
Juan Linietsky
76cd809550
Merge pull request #10613 from volzhs/fix-as_text
...
Show proper string with InputEvent.as_text()
2017-08-24 13:20:20 -03:00
volzhs
62bb600b5c
Show proper string with InputEvent.as_text()
2017-08-25 01:14:36 +09:00
Hein-Pieter van Braam
aa91640c7e
Ignore gprof output files
...
When building a profile build it is easy to accidentally create gmon.out
files all over the place. Ignore these so they won't get accidentally
pushed.
2017-08-24 17:38:17 +02:00
Hein-Pieter van Braam
90ab7162e7
Ignore Eclipse CDT project files
...
Since we have explicit .gitignore rules for QT creator and several other
editor-specific swap/utility files I'd like to add Eclipse CDT projects
also as this is my editor of choice.
2017-08-24 17:34:54 +02:00
Rémi Verschelde
3ea0943f64
Fix mismatched signatures for GDScriptLanguage::complete_code
2017-08-24 12:44:51 +02:00
Rémi Verschelde
90c7ee38c6
Merge pull request #10585 from Faless/osxcross_fat
...
Allow building fat binaries with osxcross
[ci skip]
2017-08-24 09:24:26 +02:00
Mason Ashbridge
9def31120c
Script editor: fixed no key repeat for CTRL+Y
2017-08-24 01:28:08 -04:00
Pedro J. Estébanez
d806ad4a3d
Implement custom thread numbering for POSIX
...
For every UNIX-derived (Android, Linux, macOS, iOS) flavor, a global counter is atomically incremented on thread start. That id is kept as thread-local storage.
Therefore, thread ids are sequential numbers, trivially comparable. This improves the previous state of things, in which `pthread_t` were casted to `Thread::ID` and unportabily compared. Also big, ugly thread ids appeared.
2017-08-24 07:02:55 +02:00
Pedro J. Estébanez
a560a62118
Make OS::delay_usec() more reliable on UNIX
...
Implemented with `nanosleep()`. `usleep()` is deprecated.
Also loops to ensure that __at least__ the requested time is waited, accounting for spurious interruptions.
May help in situations like reattempting to connect to the debugger.
2017-08-24 07:02:55 +02:00
Juan Linietsky
05a6785344
GCC fixes
2017-08-24 00:50:16 -03:00