Commit Graph

46463 Commits

Author SHA1 Message Date
Ignacio Etcheverry a8d8c06753 Merge pull request #17134 from aaronfranke/master
[Mono] Replace float with real_t, other misc C# improvements
2018-03-24 21:10:41 +01:00
Rémi Verschelde ee6a2c5fbf Merge pull request #17747 from robfram/fix-PR-17589
Fix bug added in PR #17589. Resources couldn't be saved to files
2018-03-24 19:32:49 +01:00
robfram 7821b70a00 Fix bug added in PR#17589. Resources couldn't be saved to files
This PR fixes the code to avoid saving default environment every time
the project is run whitin the editor.

Should fix #17727. Sorry for the troubles!
2018-03-24 19:16:47 +01:00
robfram ef2b7b090c Fix RichTextLabel column size growing beyond its calculated max_width
When `RichTextLabel` calculated the actual width of columns, it let
them grow to sizes greater than its calculated `max_width`. Now this
PR ensures no columns grows beyond `max_width`, and the excess width
is distributed among the columns which can still grow.

It should fix #17731.
2018-03-24 18:09:35 +01:00
Alessandro eda1e266c8 Fix all categories unfold when one key binding is changed 2018-03-24 17:02:18 +01:00
Rainer Deyke 31c6d6649f Fixes scene corruption when updating dependencies.
This commit fixes issue #17585: renaming/moving resources can corrupt
scene files.  The corruption was caused by
'ResourceFormatLoaderBinary::rename_dependencies' updating the file
format version field of the affected scene file to the latest version
without actually updating the content of the file to that version,
resulting in a file whose content does not match its file format version
field.  The fix preserves the file format version field and the engine
version fields when renaming dependencies.
2018-03-24 15:08:55 +01:00
Poommetee Ketson ed3b080ca6 Fix converting to tileset crashes Godot if existing file is not tileset
also make TileSetEditorPlgn tile list updates the preview modulate
2018-03-23 21:27:30 +07:00
Rémi Verschelde fd79de01c2 Merge pull request #17706 from Calinou/overhaul-hidpi-settings
Overhaul the display scaling editor settings
2018-03-23 14:12:20 +01:00
Hugo Locurcio 61bf0d10d5 Overhaul the display scaling editor settings
This adds more scaling options, in addition to a custom scaling option
which allows any scale between 0.75 and 3.0 to be used.
2018-03-23 14:04:39 +01:00
Nikodem Lokatelj 6eac0f6817 Extended node renames function to also rename script instance node path properties and fixed animation rename bug perform_node_renames function now also checks for any script instance with node paths so they also get renamed to point to new paths. This also fixes a bug with animation player renaming where two nodes had the same name. 2018-03-23 12:59:31 +01:00
Rémi Verschelde 01bb39ac3f Merge pull request #17321 from LinkDoyle/issue_16350
Fix switching WindowDialog types leaves garbage buttons
2018-03-23 11:38:59 +01:00
Rémi Verschelde 32c726f7cd Merge pull request #17344 from poke1024/multi-add-clear-script
Allow Attach and Clear Script on multiple nodes
2018-03-23 11:37:18 +01:00
Rémi Verschelde 1d07830182 Merge pull request #17490 from robfram/homogenize-check-prop-names
Fix non-valid characters for `input_action`
2018-03-23 11:29:26 +01:00
Rémi Verschelde f16652d1a2 Merge pull request #17496 from robfram/fix-f3-change-editor-and-find
Fix pressing `F3` do both changing to script editor AND find next text
2018-03-23 11:28:48 +01:00
Rémi Verschelde 699325f9a1 Merge pull request #17505 from ArkDShiggy/invert_y-axis
add option to invert y-axis
2018-03-23 11:28:05 +01:00
Rémi Verschelde f720d86b0b Merge pull request #17555 from poke1024/add-worldenv-warning
Warn about WorldEnvironment being ignored
2018-03-23 11:27:03 +01:00
Rémi Verschelde e2e29d3e82 Merge pull request #17716 from bruvzg/revert_nstask
Revert "Implement OS_OSX::execute"
2018-03-23 11:15:08 +01:00
Rémi Verschelde 8cfca7726f Merge pull request #17571 from kubecz3k/cam-disable
a way to ensure that camera is disabled
2018-03-23 11:08:44 +01:00
Rémi Verschelde 74382dbfbb Merge pull request #17576 from Mr-Slurpy/master
Allow users to add items to Tool menu
2018-03-23 11:08:03 +01:00
bruvzg d6c6a65438 Revert "Implement OS_OSX::execute"
This reverts commit e42576548f.
2018-03-23 11:56:05 +02:00
Rémi Verschelde c537107af9 Merge pull request #17680 from beniwtv/master
Fix compressor audio effect sidechain selection
2018-03-23 10:47:11 +01:00
Rémi Verschelde 5f0ea4ddcf Merge pull request #17612 from robfram/fix-richtextlabel-bbcode
Fix bad rendering of BBCode tables in `RichTextLabel`
2018-03-23 10:22:33 +01:00
Rémi Verschelde aebe55210a Merge pull request #17532 from BastiaanOlij/arvr_enhancements
A few enhancements on the ARVR Server
2018-03-23 10:15:15 +01:00
Rémi Verschelde ff2cb002d5 Merge pull request #17703 from bruvzg/fix_retina_drag
[macOS] Fix dragging window from non-retina to retina display.
2018-03-23 10:05:01 +01:00
Rémi Verschelde b5af63fc8c Merge pull request #17679 from ivodopiviz/external-editor-switch
Prevented external editor from running multiple times
2018-03-23 10:04:05 +01:00
Rémi Verschelde f672fd7686 Merge pull request #17704 from marcelofg55/clang_warn_fix
Fix for clang warning at distance_to
2018-03-23 08:44:40 +01:00
Aaron Franke ff97c97c93 Replace float with real_t, default Vectors, other misc C# improvements
Replace float with real_t in most files, defined at the top of each file via using. Objects such as Vector3 now accept doubles as inputs, and convert to real_t internally. I've added default Vectors such as Vector3.Zero. Other misc C# improvements such as Mathf.RoundToInt(). Color continues to use float only because high precision is not needed for 8-bit color math and to keep things simple. Everything seems to compile and work fine, but testing is requested, as this is the first time I've ever contributed to Godot.
2018-03-22 21:53:21 -05:00
Marcelo Fernandez bbd21c2203 Fix for clang warning at distance_to 2018-03-22 13:26:04 -03:00
bruvzg 14597dc2b2 Fix dragging window from non-retina to retina display. 2018-03-22 18:24:09 +02:00
Rémi Verschelde cc34406b5d Merge pull request #17686 from marcelofg55/in_class_fix
Fix several in-class initialization clang warning
2018-03-22 16:47:32 +01:00
Bojidar Marinov 4b00cc9f8a Merge pull request #17685 from marcelofg55/get_area_const
Fix missing const in CapsuleShapeSW::get_area
2018-03-22 11:30:47 +02:00
Marcelo Fernandez 35d21c0881 Fix several in-class initialization clang warning 2018-03-22 00:17:18 -03:00
Marcelo Fernandez 9042ef3836 Fix missing const in CapsuleShapeSW::get_area 2018-03-21 23:58:40 -03:00
Benedikt Bär 7792dfe554 Fix compressor audio effect sidechain selection 2018-03-21 22:45:30 +01:00
Ivan Vodopiviz f5147befb6 Prevented external editor from running multiple times
Fixes #16923. I'm not a fan of the special case for scripts in editor_node.cpp, but in any case,
I made it so it wouldn't make the external editor to re-open just because we switched scenes.
2018-03-21 22:23:15 +01:00
bosak 1fa69c24a0 add tint property to TextureProgress changes progress color 2018-03-21 22:33:48 +02:00
Poommetee Ketson f2df8c94b2 Merge pull request #17675 from Noshyaar/r
[DOCS] minor ParticlesMaterial docs fix Linear -> Radial

[ci skip]
2018-03-21 23:47:00 +07:00
Poommetee Ketson 7d18334ad2 [DOCS] minor ParticlesMaterial docs fix Linear -> Radial 2018-03-21 23:44:09 +07:00
Rémi Verschelde 87290ba4cd Merge pull request #17666 from akien-mga/editor-fps-verbose
Add --print-fps option to output FPS to stdout
2018-03-21 17:40:37 +01:00
Rémi Verschelde bb69dfca17 Merge pull request #17658 from bkeys/update_thekla
Updated thekla_atlas to support arm64
2018-03-21 17:40:20 +01:00
Rémi Verschelde baa092e99d Merge pull request #17653 from eska014/rwlock-dummy
Add RWLockDummy for NO_THREADS builds
2018-03-21 17:40:01 +01:00
Rémi Verschelde b384bf6fbc Merge pull request #17670 from xsellier/bugfix/17654-split-screen-master
Prevent android to split-screen
2018-03-21 14:03:23 +01:00
Xavier Sellier 61e8f8a866 Prevent android to split-screen 2018-03-21 08:53:51 -04:00
Rémi Verschelde a8e41fefdb Merge pull request #17668 from Noshyaar/2018
s/2017/2018/g for gles2, websocket, linux appdata
2018-03-21 10:29:45 +01:00
Poommetee Ketson ff070de986 s/2017/2018/g for gles2, websocket, linux appdata 2018-03-21 16:07:51 +07:00
Rémi Verschelde 10fa69285c Add --print-fps option to output FPS to stdout
Works both for the editor and games.

Projects can still use "debug/settings/stdout/print_fps" to enable it
permanently. The --print-fps option takes precedence (so works even if
the project setting is disabled). That setting is also no longer redefined
on the fly based on the verbose flag, that was a mess.
2018-03-21 09:08:51 +01:00
Brigham Henry Keys cd63e699ca Updated thekla_atlas to support arm64 2018-03-20 13:44:45 -05:00
Rémi Verschelde b49ca9486c Merge pull request #17607 from RandomShaper/fix-bogus-file-in-pack
Fix listing files inside directory in pack file
2018-03-20 12:50:19 +01:00
Rémi Verschelde 6066b236aa Merge pull request #17645 from volzhs/android-device-info
Fix getting Android device information
2018-03-20 11:28:15 +01:00
Rémi Verschelde a238e53da9 Merge pull request #17637 from robfram/fix-draw_polyline_colors-crash
Fix crash in `canvas_item_add_polyline` when passing more points than colors
2018-03-20 11:23:15 +01:00