Commit graph

23754 commits

Author SHA1 Message Date
Hugo Locurcio 471a3ceb77
Improve the debugger shortcut UX
- Display the shortcut in the button tooltips by defining the shortcut
  on the buttons as well.
- Swap "Step Over" and "Step Into" in the Debug menu to match the button
  order in the Debugger bottom panel.
2019-09-22 19:19:53 +02:00
Hugo Locurcio c99d80b414
Mention performance caveats of OS.set_window_title()
See #32254.
2019-09-22 19:01:34 +02:00
Holger Dammertz 94b0240767 fix gles2 broken panorama sky on oculus quest
This fixes an issue that was fixed for gles3 in #31419 but not applied
to gles2. The fix consists of using a constant scale for cube_normal of -1.0
instead of -1000000. It results in broken panorama rendering on the
oculus quest (see https://github.com/GodotVR/godot_oculus_mobile/issues/29)
2019-09-22 18:53:38 +02:00
qarmin 50be65bf43 Changed some code found by Clang Tidy and Coverity 2019-09-22 18:45:08 +02:00
lawnjelly f5365aa0e1 Fix GLES2 skinning where VERTEX_TEXTURE not supported
Although the backup USE_SKELETON_SOFTWARE skinning path is currently used when float texture is not supported, the default skinning path still fails when float texture is supported but GL_MAX_VERTEX_TEXTURE_IMAGE_UNITS is 0, i.e. the device cannot read from texture during vertex shader. This PR adds the logic to activate the SKELETON_SOFTWARE path if either of these cases occur, preventing crashes on devices which have this combination of features.
2019-09-22 15:38:20 +01:00
Cagdas ef5d1ebc95 Fix starting intent problem 2019-09-22 15:02:10 +03:00
Tomasz Chabora 48ca6ec657 Perform reparent if position changes 2019-09-22 12:44:59 +02:00
Paul Trojahn ba24bc1e04 Support menu key in TextEdit and LineEdit controls
Related to #15542
2019-09-22 12:06:24 +02:00
Marios Staikopoulos 72d2468d68 More GLTF Fixes
1: Depth draw mode set for transparent materials (iFire)
2: Skeletons
  - Bone names now unique and seperate from scene names
  - Due to mixture of fake joints and joints, new bone sanitizing for names added
  - Fixed an issue where some disjoint skins were not being joined due to a logic error
  - Deterministic and Depth-first bone creation order
3: Skins
  - Removed duplicate skins when possible
4: Animations
  - Fixed invalid morph target names
2019-09-21 21:45:38 -07:00
Michael Alexsander Silva Dias 5d03aa12c9 Expose LineEdit's 'right_icon' and fix icon size 2019-09-21 21:14:14 -03:00
Marios Staikopoulos 6fc5647bc3 GLTF Importer - Add more Index types and const-ed up the code 2019-09-21 15:21:02 -07:00
Paulb23 c3d712f414 Fix crash when reverting an exported array / dict to NULL 2019-09-21 16:36:30 +01:00
Hugo Locurcio ba8601f557
Improve the network profiler UI
- Add icons to the up/down bandwidth LineEdits for better
  visual grepping.
- Make bandwidth LineEdit texts more prominent when data is being
  received/emitted.
- Add more spacing between the up and down bandwidth LineEdits.
- Initialize the bandwidth texts using `set_bandwidth()` to ensure
  consistency with the actual bandwidth texts once the profiler
  is started.
- Fix icon colors when switching from a dark theme to a light theme
  and vice versa.
- Add missing `EDSCALE` constants for hiDPI scaling.
2019-09-21 15:29:03 +02:00
Swarnim Arun 097f47f064
Tool Mode for Visualscript
Add the ability to VisualScript to function in Tool mode aka the Editor itself similar to GDScript or Mono
2019-09-21 18:42:27 +05:30
Paulb23 ef3455f236 Fixed going to doc reference while selecting text 2019-09-21 13:45:20 +01:00
Shiqing 78bee16e05 Implement backward shift deletion for OAHashMap 2019-09-21 14:32:40 +08:00
Marios Staikopoulos 11e09e59d1 GLTF2 Import Fixes - Skin(s) to Skeleton - Skin Support 2019-09-20 23:08:58 -07:00
Damian Day 748c9bc205
TCP is_connected_to_host comparison error
We was returning true when the state was not connected, so we would never return true when the state was connected.
2019-09-21 02:18:46 +01:00
Rémi Verschelde 2e065d8ad0
Merge pull request #32064 from m4gr3d/propagate_gl_surface_events
Notify for app pause and resume events on Android
2019-09-20 23:18:40 +02:00
Rémi Verschelde 42af54ff75
Merge pull request #32087 from karroffel/x11-pid
[X11] set PID as window attribute
2019-09-20 23:18:17 +02:00
Rémi Verschelde b6bcc143ad
Merge pull request #32079 from lupoDharkael/locale-crash
Fix right click crash in Locales Filter
2019-09-20 23:17:47 +02:00
Rémi Verschelde 769a9c521a
Merge pull request #32094 from Calinou/improve-delete-node-confirmation-2
Improve the node deletion confirmation message
2019-09-20 23:17:29 +02:00
Rémi Verschelde d249bb37e5
Merge pull request #32112 from Calinou/project-manager-add-hover-style
Add an "hover" style to items in the project manager
2019-09-20 23:15:40 +02:00
Rémi Verschelde f7cd50e900
Merge pull request #32206 from Calinou/remove-unused-tree-constants
Remove an unused icon and constant in Tree
2019-09-20 23:14:50 +02:00
Hugo Locurcio 5b3805b8e5
Improve the editor help display
- Write the type after the parameter name for consistency with
  the GDScript static typing syntax.
- Remove ":" after headers since they're already distinguished
  by their size.
- Remove spaces before/aftere parentheses in method/signal
  argument lists.
2019-09-20 22:41:31 +02:00
Tomasz Chabora 5476250356 Initialize snap_target and make sure it disappears 2019-09-20 22:26:26 +02:00
Rémi Verschelde 25a1bfed5c
Merge pull request #32210 from Calinou/editor-log-distinguish-messages
Distinguish editor-originating messages in the editor log
2019-09-20 20:22:43 +02:00
Rémi Verschelde ae3c685042
Merge pull request #32137 from Calinou/vcs-error-if-none-available
Display an error message if no version control systems are available
2019-09-20 20:20:34 +02:00
Rémi Verschelde a34b77e271
Merge pull request #32095 from KoBeWi/silly_user
Properly remove GridMap node from editor on undo
2019-09-20 17:52:39 +02:00
Hugo Locurcio 40a5de97e6
Remove an unused icon and constant in Tree 2019-09-20 17:50:13 +02:00
Rémi Verschelde 5ea6c9fd02
Merge pull request #32120 from KoBeWi/atlas_not_included
Mention that AnimatedTexture doesn't support atlases
2019-09-20 17:49:14 +02:00
Rémi Verschelde 6da3526cd4
Merge pull request #32118 from KoBeWi/the_point_is_global_bro
Mention that look_at() expects global coordinates
2019-09-20 17:48:43 +02:00
Rémi Verschelde 8fea4053b3
Merge pull request #32116 from KoBeWi/dupinit
Mention constructor arguments in duplicate() doc
2019-09-20 17:48:21 +02:00
Rémi Verschelde 55efada13a
Merge pull request #32102 from YeldhamDev/doc_animplayer_get_queue
Document AnimationPlayer's 'get_queue()' and 'caches_cleared'
2019-09-20 17:48:04 +02:00
Rémi Verschelde fd3d8f6627
Merge pull request #32101 from Xrayez/doc-fix-ambiguous-test-motion
Fix ambiguous method description regarding `body_test_motion` in 2D
2019-09-20 17:47:38 +02:00
Rémi Verschelde 9c116f4f1d
Merge pull request #32223 from neikeq/cs_glue_version_fix
C#: Make sure cs_glue_version is present when building export templates
2019-09-20 17:46:34 +02:00
Ignacio Etcheverry 95c685143a C#: Make sure cs_glue_version is present when building export templates 2019-09-20 17:41:20 +02:00
Rémi Verschelde 54eb4bce5f
Merge pull request #32123 from qarmin/fix_int_overflow
Fix int overflow in EditorResourcePreview::_preview_ready
2019-09-20 17:36:07 +02:00
Rémi Verschelde 9137a045ac
Merge pull request #32146 from YeldhamDev/key_bezier_int_real
Fix keying integer and float values from inspector not being able to use bezier curves
2019-09-20 17:35:03 +02:00
Rémi Verschelde 65286c6b46
Merge pull request #32143 from YeldhamDev/scenedock_reparent_fixes
Fix some errors while reparenting nodes in the Scene dock
2019-09-20 17:33:57 +02:00
Rémi Verschelde 712a82a6f6
Merge pull request #32134 from IronicallySerious/fix-global-class-list
Add correct class selection in Select VCS menu
2019-09-20 17:28:39 +02:00
Rémi Verschelde 77ec3ec0a3
Merge pull request #32129 from YeldhamDev/fix_track_removal_errors
Fix errors in the animation editor when removing tracks via undo/redo
2019-09-20 17:28:15 +02:00
Rémi Verschelde 34f9a4b765
Merge pull request #32127 from skyace65/skeletonupdate
Remove outdated information from skeleton class reference
2019-09-20 17:27:57 +02:00
Rémi Verschelde d21b73779f
Merge pull request #32180 from KoBeWi/nein_patsch_rekt
Fix region editor for NinePatchRect
2019-09-20 17:26:52 +02:00
Rémi Verschelde 48db920f4a
Merge pull request #32190 from KoBeWi/undo_redo_stuff
Fix autocompletion undo
2019-09-20 17:22:11 +02:00
Rémi Verschelde c74b54f229
Merge pull request #32197 from YeldhamDev/fix_multiple_modals_dim
Fix editor dimming being disabled when a dialog is closed even when others are open
2019-09-20 17:13:44 +02:00
Rémi Verschelde d364e88c2a
Merge pull request #32209 from YeldhamDev/fix_connection_type_hints
Fix incorrect typing when creating methods via the connection dialog
2019-09-20 17:10:33 +02:00
Rémi Verschelde a80407fe31
Merge pull request #32173 from Calinou/improve-3d-light-gizmos
Improve the 3D light gizmos
2019-09-20 17:09:50 +02:00
Rémi Verschelde fdc2463a1b
Merge pull request #32150 from luzpaz/typos
Fix misc. source comment typos
2019-09-20 17:09:05 +02:00
Rémi Verschelde 6f10e994fb
Merge pull request #32220 from KoBeWi/them_overrides
Load overrides if getting style from current class
2019-09-20 16:42:51 +02:00