Commit graph

16859 commits

Author SHA1 Message Date
Andrea Catania
42f2ff2f8d Added check to prevent contact signal to happen too early 2018-09-19 19:01:59 +02:00
George Marques
b1187b9a2f
GDScript: Revert extra deletion when creating instance
Revert part of e4af39cbc0 that was causing
a crash.
2018-09-19 11:17:47 -03:00
George Marques
825e85ab23
GDScript: Error on empty blocks at the end of file
Fix #15415
2018-09-19 11:17:46 -03:00
George Marques
02acb07d81
GDScript: Fix autocompletion inference after is check
Fix #21915
2018-09-19 11:17:46 -03:00
George Marques
726e836cd9
GDScript: Fix infinite loop in autocomplete
It happened when the definition of the variable contained the variable
itself.
2018-09-19 11:17:46 -03:00
George Marques
e6a6ea65c7
GDScript: Forbid enum values to shadow constants
- Don't allow constants to shadow parent members.
- Fix a spelling mistake.

Fix #13175
2018-09-19 11:17:46 -03:00
George Marques
6c70c4c358
GDScript: Fix autocomplete crash when searching default values
Fix #21700
2018-09-19 11:17:46 -03:00
George Marques
b530031442
GDScript: Allow Object constants to be used with qualifier
Fix #15125
2018-09-19 11:17:46 -03:00
George Marques
4907a1cd28
GDScript: Fix stack address test in compiler 2018-09-19 11:17:45 -03:00
Ibrahn Sahir
bff864818f Fixed an access after free in ShaderLanguage::_reduce_expression.
Passing an element reference of a vector to a push_back call to
that same vector can cause an access after free. This is because push_back
will resize the vector, reallocating if necessary, leaving the reference
referring to the freed memory.
Removed an instance of this usage here.
2018-09-19 14:28:19 +01:00
Rémi Verschelde
9c2986abda
Merge pull request #22247 from groud/fix_polygon_editor
Fixes polygon editor blocking other editor actions (move, scale...)
2018-09-19 14:55:43 +02:00
groud
c3e66536cc Fixes polygon editor blocking other editor actions (move, scale...) 2018-09-19 14:26:04 +02:00
DualMatrix
aa32a9f22d Fixed Objects no longer showing ID in debugger.
Fixed Objects no longer showing ID in debugger.
2018-09-19 12:06:34 +02:00
DualMatrix
54286e1711 Fixed error spam in remote debugger
Fixed error spam in remote debugger.
2018-09-19 11:32:11 +02:00
Rémi Verschelde
6f1513545b
Merge pull request #22242 from groud/fix_set_as_toplevel_in_editor
Fixes selection of toplevel CanvasItems in the editor
2018-09-19 11:30:18 +02:00
groud
e1c92e32e6 Fixes selection of toplevel CanvasItems in the editor 2018-09-19 11:05:24 +02:00
Chaosus
a3fdaa4f21 Disconnect previous visual shader node connection before new connect 2018-09-19 10:30:45 +03:00
Rémi Verschelde
197a3b2924
Merge pull request #22044 from Faless/uwp_miniupnpc
Update miniupnpc to use UWP compatible APIs.
2018-09-19 09:30:16 +02:00
Rémi Verschelde
0274ded34c
Merge pull request #22070 from capnm/fix_Input.set_default_cursor_shape_take2
Fix set_default_cursor_shape interaction with Control nodes
2018-09-19 09:26:21 +02:00
Rémi Verschelde
d3e24581b9
Merge pull request #22150 from Calinou/editor-theme-improved-checkboxes
Improve checkboxes in the default editor theme
2018-09-19 09:23:44 +02:00
Rémi Verschelde
ca2ecf70a0
Merge pull request #22219 from akien-mga/color-float-to-8bit
Color: Fix rounding error converting from float to 8-bit
2018-09-19 09:09:54 +02:00
Rémi Verschelde
58c8c05012
Merge pull request #22096 from elasota/fix-visual-shader-colors
Fix visual shader color constants not retaining edits
2018-09-19 08:40:49 +02:00
DualMatrix
edd93b7608 Fixed favorite nodes list not being saved
Fixed favorite nodes list not being saved
2018-09-19 00:30:01 +02:00
JFonS
8f4f79c767 Fix lighting of rotated particles in 2D
Custom instance transform was not taken into account for normal map
calculation. Also renamed `extra_matrix2` to `extra_matrix_instance` for
more clarity.
2018-09-18 22:58:13 +02:00
groud
5172642c32 Fixes drawing of the 2D plugins on the 3D view 2018-09-18 20:00:07 +02:00
Rémi Verschelde
c4f14e091c Color: Fix rounding error converting from float to 8-bit
Fixes #16736.
2018-09-18 17:11:15 +02:00
char0xff
a0efe25c9e Improve EditorPlugin.xml and EditorInterface.xml 2018-09-18 16:38:19 +02:00
groud
76b2ae8dc6 Fixes favorites not updating and rename favorite_dirs to favorites 2018-09-18 14:02:59 +02:00
Rémi Verschelde
f148e8eede SCons: Fix ARVR can_build arity 2018-09-18 08:56:44 +02:00
Rémi Verschelde
05fbe415bd
Merge pull request #22200 from DualMatrix/not_set_focus
Fixed clicking on Find/Replace doesn't set the focus on the text field
2018-09-18 08:50:20 +02:00
DualMatrix
e10ca7b824 Fixed clicking on Find/Replace doesn't set the focus on the text field
Fixed clicking on Find/Replace doesn't set the focus on the text field
2018-09-18 00:10:23 +02:00
Ignacio Etcheverry
fe7c6be08d
Merge pull request #22199 from neikeq/branch1
Regression: Fixed missing mono internal call
2018-09-18 00:01:10 +02:00
Ignacio Etcheverry
e463834a8b Fix missing mono internal call
- Also fixed uninitalized variable in buildscript
2018-09-17 22:54:47 +02:00
Alexandre LittleWhite Laurent
3aa82c524f Clear textures before setting new textures (#21718) 2018-09-17 20:52:45 +02:00
Ignacio Etcheverry
a4e4dd3966
Merge pull request #22193 from neikeq/idontlikesanditscoarseandroughandirritatinganditgetseverywhere
Mono: Build and external editor improvements for OSX
2018-09-17 20:22:05 +02:00
Ignacio Etcheverry
50f6dbff87 Mono: Fix opening code editors in OSX and cleanup 2018-09-17 20:00:19 +02:00
Ignacio Etcheverry
9610bc9580
Merge pull request #22151 from 999eagle/monoexe
Check for mono binary when finding version
2018-09-17 19:55:43 +02:00
Ignacio Etcheverry
b032738a51 Add some mono root dir hints to the build script
This enhancement is specially noticeable in OSX, since it includes Mono's install location (both official and homebrew). This makes it possible to build Godot with Mono on OSX without pkg-config (pkg-config is bundled with Mono, but it's not added to PATH, so finding it would require finding the Mono root directory first).
2018-09-17 19:34:35 +02:00
Rémi Verschelde
ede5f696b6
Merge pull request #22188 from guilhermefelipecgs/fix_20177_latest
Fix Input::set_custom_mouse_cursor showing cursor when it's invisible
2018-09-17 17:55:25 +02:00
Guilherme Felipe
360204e532 Fix Input::set_custom_mouse_cursor showing cursor when it's invisible 2018-09-17 11:37:54 -03:00
Rémi Verschelde
ebd14a778d
Merge pull request #22113 from char0xff/editor_interface
Update EditorInterface.xml
2018-09-17 13:49:07 +02:00
Rémi Verschelde
7ffeabf6bb
Merge pull request #22119 from char0xff/doc_config
Fix mistake in ConfigFile.xml
2018-09-17 13:48:32 +02:00
DualMatrix
c1674f1068 Fixed empty item slipping into Search Classes dialog
Fixed empty item slipping into Search Classes dialog.

Phew tracking this down was weird.
2018-09-17 12:41:47 +02:00
Rémi Verschelde
4075c80ea9
Merge pull request #22165 from DualMatrix/atan2_plain_wrong
Fixed argument names having wrong order for atan2
2018-09-17 12:33:26 +02:00
Rémi Verschelde
7c95613b41
Merge pull request #22168 from Calinou/travis-build-release-mode
Build non-editor targets in release mode on Travis CI
2018-09-17 12:08:29 +02:00
Rémi Verschelde
341e18a48e
Merge pull request #22162 from cbscribe/kcc_classref
[DOCS] Classref additions and consistency fixes
2018-09-17 11:50:23 +02:00
Rémi Verschelde
c8fe74cfad
Merge pull request #22142 from avencherus/doc-change
Small documentation clarification added to CanvasItem.
2018-09-17 11:43:36 +02:00
Hugo Locurcio
87ba7de328
Build some targets in release and release_debug mode on Travis CI
This makes sure the release code path is tested in CI builds.

This closes #22147.
2018-09-17 11:11:32 +02:00
Rémi Verschelde
dbee7856e3
Merge pull request #22157 from muiroc/fix_cast_crash
Add null check in godot result callback
2018-09-17 11:09:06 +02:00
Rémi Verschelde
6938b6e2f8
Merge pull request #22161 from eska014/html5-seticon
Implement OS::set_icon in HTML5 platform
2018-09-17 10:48:14 +02:00