Commit graph

24151 commits

Author SHA1 Message Date
Rémi Verschelde aafd5dd5c1
Merge pull request #32989 from nekomatata/fix-crash-rename-state
Fixed crashes when renaming a state in AnimationNodeStateMachineEditor
2019-10-22 19:43:36 +02:00
Rémi Verschelde 365558b8b7
Merge pull request #32969 from Nehluxhes/palette_vanish
Fix gridmap palette remaining invisible
2019-10-22 18:51:11 +02:00
Rémi Verschelde b6dea9469c
Merge pull request #32985 from Chaosus/fix_bug
Prevents segfault on _class_desc_resized at exit
2019-10-22 18:42:46 +02:00
PouleyKetchoupp e3d4b96ba7 Fixed crashes when renaming a state in AnimationNodeStateMachineEditor
Recursive calls to Control::_modal_stack_remove could cause a crash because of the list element not being invalidated while being erased from the list.

It happens in the state machine case by hiding a line edit control when it loses focus.

Fixes #23808
2019-10-22 16:28:11 +02:00
Rémi Verschelde 4ecc30cc5e
Merge pull request #32927 from Muller-Castro/ShapeCenteredFix
Fixed TouchScreenButton::shape_centered having no effect
2019-10-22 15:53:29 +02:00
Yuri Roubinsky d7d72aeeec Prevents segfault on _class_desc_resized at exit 2019-10-22 16:01:11 +03:00
Rémi Verschelde 1be39232b4
Merge pull request #32842 from LikeLakers2/animation-idx-to-track-idx
Changes the name of all parameters referring to track indices within Animation, to `track_idx`
2019-10-22 14:55:21 +02:00
Rémi Verschelde 549aea7284
Merge pull request #32944 from Klowner/gdscript-editorspinslider
expose EditorSpinSlider to GDScript
2019-10-22 14:31:24 +02:00
Rémi Verschelde 97a4fe79fb
Merge pull request #32902 from nekomatata/auto-indent-bracket-fix
Auto-indent after opening bracket and parenthesis in the script editor
2019-10-22 14:30:16 +02:00
Rémi Verschelde 17a7da3b85
Merge pull request #32921 from nekomatata/fix-cpu-particle-delay
Fixed delay when CPUParticles & CPUParticles2D start being emitted
2019-10-22 14:28:04 +02:00
Rémi Verschelde 2906cef290
Merge pull request #32922 from nekomatata/fix-scene-timer-yield-leak
Fixed leak on exit when using yield with SceneTreeTimer
2019-10-22 14:17:58 +02:00
Rémi Verschelde 8228b93fcd
Merge pull request #32919 from vnen/gdscript-unused-args
Fix wrong counting of function argument usage
2019-10-22 14:15:58 +02:00
Rémi Verschelde acd5c7e767
Merge pull request #32858 from m4gr3d/expand_singleton_base_api
Add `View SingletonBase#onMainCreateView(Activity activity)` api
2019-10-22 13:52:39 +02:00
Rémi Verschelde e4cfb77961
Merge pull request #32903 from madmiraal/fix-27649-part9
Remove duplicate valid value check in gdscript_tokenizer.cpp.
2019-10-22 13:51:28 +02:00
Rémi Verschelde fddc60c85c
Merge pull request #32878 from EbbDrop/no_autocompletion_for_singeltons
Fixes auto completion for singletons
2019-10-22 13:50:25 +02:00
Rémi Verschelde d335cd4877
Merge pull request #32904 from bruvzg/mac_vol_list
[macOS] Various volume list fixes
2019-10-22 13:47:06 +02:00
Rémi Verschelde b67537b14b
Merge pull request #32864 from nekomatata/rich-text-image-size
Support for resized images in RichTextLabel
2019-10-22 13:46:11 +02:00
Rémi Verschelde 10518d5d84
Merge pull request #32893 from Nehluxhes/delete_gridmap
Disable gridmap selection actions when nothing is selected
2019-10-22 12:55:18 +02:00
Rémi Verschelde bd23cce055
Merge pull request #32896 from nekomatata/joint-reset-collision
Properly reset collision exception when releasing Joint2D
2019-10-22 12:52:12 +02:00
Rémi Verschelde 3aa5b54330
Merge pull request #32889 from nekomatata/node-update-config-warning
Expose Node::update_configuration_warning() to scripts
2019-10-22 12:42:09 +02:00
Rémi Verschelde d54f76c132
Merge pull request #32838 from Calinou/add-x509certificate-cryptokey-icons
Add editor icons for X509Certificate and CryptoKey
2019-10-22 12:39:40 +02:00
Rémi Verschelde 1e0fb0dc14
Merge pull request #32833 from nekomatata/label-autowrap-fix
Allow Label autowrap to cut words when they exceed line width
2019-10-22 12:29:49 +02:00
Rémi Verschelde a2871cc06b
Merge pull request #32846 from Chaosus/fix_doc_color
Fix incorrect coloring of in-editor documentation when theme changed
2019-10-22 12:00:00 +02:00
Nehluxhes d67a9d1a94 Fix gridmap palette remaining invisible 2019-10-21 23:57:23 +02:00
Rémi Verschelde 3564547208
Merge pull request #32750 from Faless/js/fix_ws_refactor
Fix HTML5 build after 67a4c30.
2019-10-21 22:26:33 +02:00
Rémi Verschelde affb7fa423
Merge pull request #32958 from YeldhamDev/inspector_resource_object_icon
Make the the resource menu button fallback to the Object icon instead of Node
2019-10-21 22:25:52 +02:00
Rémi Verschelde 53945fe75e
Merge pull request #32960 from YeldhamDev/anim_track_copy_enhancements
Enhancements and fixes for the animation editor's copy track dialog
2019-10-21 22:25:01 +02:00
Michael Alexsander 1594f22b4e Enhancements and fixes for the animation editor's copy track dialog 2019-10-21 12:40:23 -03:00
Rémi Verschelde 9e631a40c6
Merge pull request #32956 from volzhs/invalid-bold
Fix validating editor bold font
2019-10-21 17:15:40 +02:00
Michael Alexsander a0866716ed Make the the resource menu button fallback to the Object icon instead of Node 2019-10-21 11:26:58 -03:00
Rémi Verschelde 4a726998bd
Merge pull request #32865 from rodolforg/fix_32711-lookat-scaling-again
Spatial::look_at wrong re-scaling
2019-10-21 16:05:21 +02:00
Rémi Verschelde f5dd4d574f
Merge pull request #32863 from JFonS/navmesh_from_group
Add option to create navmesh from objects in group
2019-10-21 16:02:38 +02:00
Rémi Verschelde b6865f2f79
Merge pull request #32857 from madmiraal/fix-072e403
Correct change made to joints_2d.cpp by 072e403.
2019-10-21 15:53:47 +02:00
volzhs aa5e34d018 Fix validating editor bold font 2019-10-21 22:44:03 +09:00
Rémi Verschelde d33af87b61
Merge pull request #32849 from jahd2602/fix-26362
Add accept-dialog enter-key functionality to the Connect Dialog's Method textfield.
2019-10-21 15:36:26 +02:00
Rémi Verschelde ee3b28e9af
Merge pull request #32841 from Calinou/freelook-add-slow-modifier
Add a "slow" modifier to freelook
2019-10-21 15:25:58 +02:00
Rémi Verschelde 8fc423034b
Merge pull request #32836 from YeldhamDev/resource_editor_icon_fallback
Make resource editor fallback to Object icon if none is found
2019-10-21 15:24:04 +02:00
Rémi Verschelde 6f18c3c6cf
Merge pull request #32923 from vnen/gdscript-type-check-native-singleton
GDScript: Add _ prefix on class name in type compatibility check
2019-10-21 13:56:35 +02:00
Rémi Verschelde 9c1faadcf9
Merge pull request #32939 from Paulb23/issue_32785_minimap_index
Fixed -1 minimap index when smooth scrolling is enabled
2019-10-21 13:54:44 +02:00
Rémi Verschelde 28eca3649d
Merge pull request #30622 from creikey/fix-path-caching
PackedScene resources are freed before they are saved
2019-10-21 13:53:45 +02:00
Mark Riedesel 6a85614d86 expose EditorSpinSlider to GDScript 2019-10-20 11:54:35 -04:00
Paulb23 ee94081b4a Fixed -1 minimap index when smooth scrolling is enabled 2019-10-20 13:27:53 +01:00
PouleyKetchoupp 5bf516a062 Fixed delay when CPUParticles & CPUParticles2D start being emitted
Particles were processed only on the next frame after the emission started, causing a one frame delay in rendering. Now the first process cycle is started during the same frame, which makes them consistent with Particles & Particles2D.

Fixes #32890
2019-10-20 09:50:00 +02:00
Muller-Castro 127c2d75ad Fixed TouchScreenButton::shape_centered having no effect
The problem was that the shape_centered depended on TouchScreenButton::texture having a Texture
2019-10-19 18:16:47 -03:00
George Marques 05465b9693
GDScript: Add _ prefix on class name in type compatibility check
This makes sure that the classes internally represented with an
underscore (_) prefix, such as singletons, are still properly checked
for inheritance in the ClassDB.
2019-10-19 13:45:52 -03:00
PouleyKetchoupp 1a9801f700 Fixed leak on exit when using yield with SceneTreeTimer
Use case:
yield(get_tree().create_timer(2), "timeout")

Some resources were never released because the SceneTreeTimer was keeping a reference to GDScriptFunctionState in its signal connections, while GDScriptFunctionState was holding a reference to the SceneTreeTimer object. Cleaning all signal connections on game exit fixes the issue.

Fixes #29946
2019-10-19 18:45:17 +02:00
George Marques bb20e420af
Fix wrong counting of function argument usage
There's no need to subtract 1 from the assignment usages because it's
not incremented anywhere else.

Also put back the assignment with operators because they should not
count as usage if the argument is on the left side.
2019-10-19 10:59:57 -03:00
Fredia Huya-Kouadio 4407350608 Add View onMainCreateView(Activity activity) api to the Godot.SingletonBase class.
The new api allows plugins to define and provide their views for inclusion in the Godot Android view hierarchy.
2019-10-18 10:05:53 -07:00
bruvzg d8c2e6a31a
[macOS] Fix non-ASCII volume name listing, replace deprecated volume listing API. Remove hidden mount points from the volume list. 2019-10-18 15:36:29 +03:00
Marcel Admiraal 5b96233c34 Remove duplicate valid value check in gdscript_tokenizer.cpp. 2019-10-18 11:58:34 +02:00