Rémi Verschelde
7c29ce4375
Export: Add dedicated --export-pack option to export data pack
...
The previous behavior relying on the provided extension was problematic
on macOS since .zip is the main extension used for the full project
export (binary + data pack).
We add a dedicated `--export-pack` command line option to define when
only the data pack should be exported. Its extension will still be
inferred from the path.
Fixes #23073 .
2020-01-08 14:57:46 +01:00
Rémi Verschelde
ae21664655
Merge pull request #34908 from akien-mga/gamepad-mapping-env
...
Gamepad: Parse SDL_GAMECONTROLLERCONFIG env after default mappings + sync SDL2 mappings
2020-01-08 12:22:40 +01:00
Rémi Verschelde
d374ad705d
Merge pull request #34906 from akien-mga/light-occluder-getornull
...
RasterizerCanvas: Use getornull to fetch light occluder polygon
2020-01-08 11:48:02 +01:00
Rémi Verschelde
7d0342e87d
Sync controller mappings DB with SDL2 community repo
...
Synced with gabomdq/SDL_GameControllerDB@67b49052b4 .
2020-01-08 11:45:00 +01:00
Rémi Verschelde
0584c7f094
Gamepad: Parse SDL_GAMECONTROLLERCONFIG env after default mappings
...
Addresses comment https://github.com/godotengine/godot/issues/21918#issuecomment-458764923 .
2020-01-08 11:43:44 +01:00
Rémi Verschelde
815bf761a5
RasterizerCanvas: Use getornull to fetch light occluder polygon
...
Fixes #21286 when the occluder is not fully configured.
2020-01-08 11:29:15 +01:00
Yuri Roubinsky
ed22a4c454
Merge pull request #33817 from Chaosus/vs_fresnel
...
Make Fresnel node in visual shaders to use default NORMAL/VIEW
2020-01-08 12:15:46 +03:00
Rémi Verschelde
5edd1a27d2
Merge pull request #34671 from Chaosus/shader_hex_support
...
Support for hex numbers in shaders
2020-01-08 10:01:49 +01:00
Rémi Verschelde
41c8ec991f
Merge pull request #34802 from xelivous/power-of-two-is-good
...
Change the 2D editor's snap to 8x8 by default
2020-01-08 08:51:58 +01:00
Rémi Verschelde
14b24b6a71
Merge pull request #34875 from neikeq/api-hash-no-underscore-methodbinds
...
ClassDB: Exclude method binds starting with '_' from API hash
2020-01-08 08:32:25 +01:00
Rémi Verschelde
6fa716c67b
Merge pull request #34887 from akien-mga/cli-export-usability
...
Export: Improve usability of command line interface
2020-01-08 08:19:39 +01:00
Rémi Verschelde
1de54bb388
Merge pull request #34874 from wingedadventurer/bugfix-label-visible-characters
...
Make Label node consider spaces for visible_characters property
2020-01-08 08:18:59 +01:00
Rémi Verschelde
033fb72c03
Merge pull request #34871 from lentsius-bark/textEdit-vertical-horizontal-scroll-expose
...
expose scroll_vertical and scroll_horizontal in TextEdit
2020-01-08 08:18:12 +01:00
Rémi Verschelde
1b26205b25
Merge pull request #34901 from YeldhamDev/multiple_doc_completions
...
Complete docs for GraphEdit/Node and PopupMenu
2020-01-08 07:36:36 +01:00
Rémi Verschelde
90c487ebf3
Merge pull request #34900 from timothyqiu/rtl-cell-wrap
...
Fixes RichTextLabel click issue when cell text wraps
2020-01-08 07:08:02 +01:00
Rémi Verschelde
a28e0b2849
Merge pull request #34905 from YeldhamDev/scriptdiag_minor_fix
...
Minor fixes for ScriptCreateDialog
2020-01-08 07:05:18 +01:00
Rémi Verschelde
d084598e8d
Merge pull request #34902 from YeldhamDev/graphedit_selection_color
...
Make possible to edit the GraphEdit's selection rect colors
2020-01-08 07:00:24 +01:00
Michael Alexsander
f9d11120f7
Minor fixes for ScriptCreateDialog
2020-01-08 02:02:34 -03:00
Michael Alexsander
8b5992f665
Make possible to edit the GraphEdit's selection rect colors
2020-01-07 23:20:48 -03:00
Haoyu Qiu
d17a4efc43
Fixes RichTextLabel click issue when cell text wraps
2020-01-08 09:08:03 +08:00
Michael Alexsander
b81843ee6c
Complete docs for GraphEdit/Node and PopupMenu
2020-01-07 22:05:32 -03:00
Rémi Verschelde
83fe471c3b
Merge pull request #34881 from williamd1k0/fix-animationtree-no3d
...
Fix AnimationTree not available when compiled with disable_3d
2020-01-07 23:03:53 +01:00
Rémi Verschelde
8287349bd3
Merge pull request #34896 from KoBeWi/no_tool_no_warn
...
Don't show conf warning if script is not tool
2020-01-07 21:44:53 +01:00
Rémi Verschelde
fe202e1a55
Merge pull request #34891 from Calinou/doc-environment
...
Complete the Environment class documentation
2020-01-07 21:37:58 +01:00
Tomasz Chabora
bbc36dbc67
Don't show conf warning if script is not tool
2020-01-07 21:28:16 +01:00
Rémi Verschelde
aaa5ca7be2
Merge pull request #34893 from volzhs/show-main-scene-in-split
...
Show selected main scene in FileSystem split view
2020-01-07 20:30:05 +01:00
volzhs
a1ab8f8890
Show selected main scene in FileSystem split view
2020-01-08 02:19:54 +09:00
Hugo Locurcio
4fbcc19853
Complete the Environment class documentation
...
This closes #34846 .
2020-01-07 17:41:17 +01:00
Rémi Verschelde
56d8a2295d
Merge pull request #34890 from Kanabenki/fix-cursor-richtextlabel
...
Fix wrong cursor shape in empty space when meta link wraps in RichTextLabel
2020-01-07 16:13:18 +01:00
Kanabenki
d79f0e7d40
Check if cursor is inside meta when getting cursor shape
2020-01-07 15:46:11 +01:00
Krystof Klestil
c475f11018
expose scroll_vertical and scroll_horizontal in TextEdit + documentation
2020-01-07 15:16:07 +01:00
Rémi Verschelde
5011afcb6a
Export: Improve usability of command line interface
...
I'm barely scratching the surface of the changes needed to make the
--export command line interface easy to use, but this should already
improve things somewhat.
- Streamline `can_export()` templates check in all platforms, checking
first for the presence of official templates, then of any defined
custom template, and reporting on the absence of any.
Shouldn't change the actual return value much which is still true if
either release or debug is usable - we might want to change that
eventually and better validate against the requested target.
- Fix discrepancy between platforms using `custom_package/debug` and
`custom_template/debug` (resp. `release`).
All now use `custom_template`, which will break compatibility for
`export_presets.cfg` with earlier projects (but is easy to fix).
- Use `can_export()` when attempting a command line export and report
the same errors that would be shown in the editor.
- Improve error reporting after a failed export attempt, handling
missing template and invalid path more gracefully.
- Cleanup of unused stuff in EditorNode around the export workflow.
- Improve --export documentation in --help a bit.
Fixes #16949 (at least many of the misunderstandings listed there).
Fixes #18470 .
2020-01-07 14:25:56 +01:00
Rémi Verschelde
cd408c5256
Merge pull request #34886 from JFonS/fix_32699
...
Make NoiseTexture threading more robust
2020-01-07 12:46:43 +01:00
JFonS
4e10c62024
Make NoiseTexture threading more robust
...
Fixes crash when a NoiseTexture was freed before the generation thread finished.
2020-01-07 11:35:34 +01:00
Rémi Verschelde
96fdb48edd
Merge pull request #34256 from timothyqiu/return-array-32988
...
Fixes crash when using Mesh::create_outline and Mesh::create_convex_shape
2020-01-07 09:37:01 +01:00
Haoyu Qiu
3df9d187a3
Fixes crash when using Mesh::create_outline and Mesh::create_convex_shape
...
Adds a size check to the array returned by `surface_get_arrays`.
During debugging, `create_outline` also crashes when the indices size is
one (not a multiple of three). For now, just reports the error and fail
the function.
2020-01-07 16:15:14 +08:00
Rémi Verschelde
84b5ac8640
Merge pull request #34878 from timothyqiu/rtl-doc-wording
...
Rewording RichTextLabel::remove_line documentation
2020-01-07 08:08:19 +01:00
Rémi Verschelde
26e8fb855f
Merge pull request #34876 from timothyqiu/regression-fix
...
Fixes import of models as PackedScene
2020-01-07 08:04:09 +01:00
William Tumeo
c1853eeb59
Fix AnimationTree not available when compiled with disable_3d
2020-01-07 00:04:30 -03:00
Haoyu Qiu
5fc0a068d0
Rewording RichTextLabel::remove_line documentation
2020-01-07 08:29:10 +08:00
Haoyu Qiu
d43ad46e42
Fixes import of models as PackedScene
2020-01-07 07:21:17 +08:00
Ignacio Etcheverry
4be87c6016
ClassDB: Exclude method binds starting with '_' from API hash
...
These methods are not meant to be part of the scripting API.
These are not the same as virtual methods starting with '_', e.g.: '_process'.
2020-01-07 00:08:49 +01:00
wingedadventurer
695980a0f2
make Label consider spaces for visible_characters
2020-01-06 23:29:00 +01:00
Rémi Verschelde
e2a6cae0c7
Merge pull request #34867 from volzhs/calculate-label-size-2
...
Calculate label size more accurately
2020-01-06 22:26:14 +01:00
volzhs
e5a0018621
Calculate label size more accurately
2020-01-07 04:21:02 +09:00
Rémi Verschelde
24281cd9c9
Merge pull request #34865 from volzhs/oversampling-emoji
...
Update size and position for colored font with oversampling
2020-01-06 18:32:24 +01:00
volzhs
e03ac8c618
Update size and position for colored font with oversampling
2020-01-07 02:15:23 +09:00
Fabio Alessandrelli
141da69c84
Merge pull request #34843 from akien-mga/enet-1.3.14
...
enet: Sync with upstream 1.3.14
2020-01-06 17:30:36 +01:00
Rémi Verschelde
377ae2af97
Merge pull request #34808 from Calinou/no-color-in-non-tty
...
Disable colored console output when standard output isn't a TTY
2020-01-06 16:39:47 +01:00
Rémi Verschelde
ce75a2f33d
Merge pull request #33987 from nekomatata/own-world-environment
...
Viewport environment is updated properly when set to own world
2020-01-06 15:26:52 +01:00