diff options
| author | Răzvan Cosmin Rădulescu | 2016-10-04 10:57:16 +0200 |
|---|---|---|
| committer | Rémi Verschelde | 2016-10-17 20:48:15 +0200 |
| commit | 04255541a0dcd4fdeb7028707ab5907785ea249d (patch) | |
| tree | dd4f881da23cd840f0b976971fbcedfe1daba204 /tools/editor/plugins/animation_player_editor_plugin.cpp | |
| parent | 17edff2f84c52d7f26fc62787bf25ba8e9758124 (diff) | |
| download | godot-04255541a0dcd4fdeb7028707ab5907785ea249d.tar.gz godot-04255541a0dcd4fdeb7028707ab5907785ea249d.tar.zst godot-04255541a0dcd4fdeb7028707ab5907785ea249d.zip | |
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.
(cherry picked from commit 9ad0850301045e0d7fd243340e807fb2c9f736de)
Diffstat (limited to 'tools/editor/plugins/animation_player_editor_plugin.cpp')
0 files changed, 0 insertions, 0 deletions
