Commit Graph

5657 Commits

Author SHA1 Message Date
Răzvan Cosmin Rădulescu
9ad0850301 Fixes hash float negative 0 problem
Before this was giving an error:

var a = {Vector2(1, 0): 5, Vector2(-1, 0): 7}
    print(a)
    print(a[Vector2(1, 0)])
    print(a[-Vector2(1, 0)])

This simple commit fixes the issue.
2016-10-12 21:24:07 +02:00
Rémi Verschelde
12843167ca Merge pull request #6788 from Hinsbart/region_refresh
Refresh TextureRegionEditor when region has been changed externally.
2016-10-11 16:29:40 +02:00
Rémi Verschelde
13bf9b6973 Merge pull request #6791 from Hinsbart/frame_changed
Sprite: Fix inspector not showing changes on "frame" property.
2016-10-11 15:58:15 +02:00
Andreas Haas
9d67895c7c
Sprite: Fix inspector not showing changes on "frame" property.
Fixes #6562
2016-10-11 15:14:05 +02:00
Andreas Haas
094073e4b2
Refresh TextureRegionEditor when region has been changed externally.
Now the TextureRegionEditor updates when you change the region_rect either via the inspector or via
undo/redo.

Fixes #6772
2016-10-11 11:31:25 +02:00
Rémi Verschelde
a317617aae Merge pull request #6783 from pkowal1982/buttonpressed
Fix #5959, contrasting texture for toggled button
2016-10-11 09:11:35 +02:00
Rémi Verschelde
0f587c460e Merge pull request #6778 from Hinsbart/completion_z
Fix Script Editor drawing over Dialogs.
2016-10-11 09:10:39 +02:00
Rémi Verschelde
53016ef7a1 Merge pull request #6777 from RandomShaper/revise-serial-naming
Revise serial naming behavior
2016-10-11 09:10:20 +02:00
Rémi Verschelde
8b54cfad1d Merge pull request #6776 from RandomShaper/int_property_step
Allow step for integer properties
2016-10-11 09:10:00 +02:00
Rémi Verschelde
f3106cddb3 Merge pull request #6775 from RandomShaper/one-based-col-numbers
Make text column numbers one-based
2016-10-11 09:09:49 +02:00
Rémi Verschelde
346e8a9a6e Merge pull request #6762 from RandomShaper/improve-text-editor
Line length guideline setting plus some tidy-up
2016-10-11 09:09:40 +02:00
Rémi Verschelde
3df507d696 Merge pull request #6694 from bojidar-bg/gdscript-newline-functions
Allow for linebreaks in function calls and definitions and yeild/signal.
2016-10-11 09:06:14 +02:00
Rémi Verschelde
abfa42dd39 Merge pull request #6781 from volzhs/unnecessary-parentheses
Remove unnecessary parentheses

[ci skip]
2016-10-10 20:06:46 +02:00
volzhs
42c72eee66 Remove unnecessary parentheses 2016-10-11 02:59:29 +09:00
Pawel Kowal
d3a8087659 Fix #5959, contrasting texture for toggled button 2016-10-10 13:54:48 +02:00
Andreas Haas
f73b501d6f
Fix Script Editor drawing over Dialogs.
Resets the z-index when focus is lost and the completion is shown.

Fixes #6769
2016-10-10 13:24:46 +02:00
Pedro J. Estébanez
84c525ba1b Revise serial naming behavior 2016-10-10 13:11:32 +02:00
Pedro J. Estébanez
7b293aa4d4 Allow step for integer properties
Small readability improvement
2016-10-10 12:21:31 +02:00
Pedro J. Estébanez
2f80965845 Make text column numbers one-based
Make one-based the column number on the code editor

Make one-based the column number for GDScript error messages

Make one-based the column number for shader code error messages
2016-10-10 11:56:45 +02:00
Pedro J. Estébanez
0159e4f969 Refactor duplicated code 2016-10-10 10:39:58 +02:00
Pedro J. Estébanez
d9c1729a8f Add line length guideline to code editors 2016-10-10 10:39:58 +02:00
Ignacio Etcheverry
fea1fb0925 Merge pull request #6761 from neikeq/pr-missing-defval
Bindings: Fix missing default value
2016-10-09 23:58:58 +02:00
Ignacio Etcheverry
068b58b3ce Bindings: Fix missing default value 2016-10-09 23:51:08 +02:00
Rémi Verschelde
9012dfb8eb Merge pull request #6757 from vnen/fix-android-build-win
Fix Android build detection on Windows
2016-10-09 21:40:11 +02:00
George Marques
4bdbafabce
Fix Android build detection on Windows 2016-10-09 16:23:27 -03:00
Rémi Verschelde
616ddbdf1d i18n: Sync template and translations with current code 2016-10-09 18:12:42 +02:00
Rémi Verschelde
2fb5a00305 i18n: Fix string that broke msgmerge 2016-10-09 18:11:55 +02:00
Rémi Verschelde
0812ad8d27 i18n: Sync translations with Weblate
Adds template for Icelandic translation.
2016-10-09 18:00:17 +02:00
Rémi Verschelde
e0e21984d8 Merge pull request #6747 from RandomShaper/unify-serial-naming
Make node serial naming per-project and universal
2016-10-09 14:55:53 +02:00
Rémi Verschelde
b9e010fb7f Merge pull request #6743 from mateka/issue-6296
Issue #6296: When searching for control, checking if matrix is inversible
2016-10-09 14:53:32 +02:00
Rémi Verschelde
20773733ca Merge pull request #6741 from Faless/network_no_spoof
Better checks for Multiplayer API, prevent packet source spoofing.
2016-10-09 14:52:35 +02:00
Rémi Verschelde
bff13f3950 Merge pull request #6738 from bojidar-bg/update-travis
Attempt to fix travis builds for android
2016-10-09 14:48:08 +02:00
Rémi Verschelde
5f7f73c6ae Merge pull request #6730 from Faless/fix_export_crash_error
Throw an error when exporting a resource class
2016-10-09 14:44:10 +02:00
Rémi Verschelde
8711523c98 Merge pull request #6722 from Hinsbart/projman_focus
Project manager: grab focus on ok button after path selection.
2016-10-09 14:41:44 +02:00
Rémi Verschelde
6f9023c9a6 Merge pull request #6717 from Hinsbart/focus_crash
Prevent crash on focus change when no valid next control has been found.
2016-10-09 14:41:22 +02:00
Rémi Verschelde
9eb54e5b6e Merge pull request #6716 from Hinsbart/completion_fix
Fix code completion drawing under other gui elements.
2016-10-09 14:40:11 +02:00
Rémi Verschelde
0a2826b6ba Merge pull request #6712 from lordadamson/issue6012
fix #6012 exposed setters and getters of Camera H/V offset to GDScript
2016-10-09 14:39:42 +02:00
Rémi Verschelde
afa6f3492c Merge pull request #6711 from Faless/add_go_to_origin_shortcut
Add shortcut to reset cursor position in 3D Editor ( #166 )
2016-10-09 14:38:59 +02:00
Rémi Verschelde
a4f3d93136 Merge pull request #6707 from volzhs/graphnode
Expose selected value of GraphNode
2016-10-09 14:37:21 +02:00
Rémi Verschelde
e9521523a2 Merge pull request #6706 from RandomShaper/light2d-editor-only
Add editor_only param to Light2D
2016-10-09 14:36:55 +02:00
Rémi Verschelde
369865f01a Merge pull request #6705 from volzhs/graphedit
Fix GraphEdit grab random node when delete or deselect by clicking empty space
2016-10-09 14:35:24 +02:00
Rémi Verschelde
93127070a6 Merge pull request #6704 from RandomShaper/fix-android-build-flags
Fix compile flags not getting to the Android build
2016-10-09 14:34:40 +02:00
Rémi Verschelde
59d92d82a7 Merge pull request #6703 from razvanc-r/fix_node_path
fixes #6695 - MultiNodeEdit edit path in exported NodePath
2016-10-09 14:34:26 +02:00
Rémi Verschelde
fda72354c9 Merge pull request #6702 from Faless/load_error_leading_slash
Add error when (pre)loading paths with leading / (#4280 - #3106)
2016-10-09 14:16:47 +02:00
Rémi Verschelde
a3bac99c1c Merge pull request #6701 from Hinsbart/connect_noscript
ConnectionDialog: Don't allow connecting to a Node without a script if target method is invalid.
2016-10-09 14:15:21 +02:00
Rémi Verschelde
a938319bb7 Merge pull request #6699 from razvanc-r/fix_variant_can_convert
fixes #6331, Variant::can_convert
2016-10-09 14:14:52 +02:00
Rémi Verschelde
ca732a52dc Merge pull request #6693 from J08nY/issue-editor-only-light
light: respect editor_only setting in release build, fixes #6665
2016-10-09 14:10:27 +02:00
Rémi Verschelde
1c6058a5bc Merge pull request #6691 from Faless/expose_more_physics
Expose more 2D/3D physics options in project settings (#5029)
2016-10-09 14:08:50 +02:00
Rémi Verschelde
fb856e532e Merge pull request #6673 from J08nY/issue-update-spinner
Fix #6653, add an option to stop the update spinner from spinning
2016-10-09 14:06:59 +02:00
Rémi Verschelde
c16c621c97 Merge pull request #6657 from Faless/multi_channel_rpc
Use 2 different ENet channels for reliable/unreliable packets
2016-10-09 14:05:40 +02:00