Vasiliy Makarov
bbf66945e7
more efficient atlas packing algorithm
2017-08-25 09:57:55 +03:00
elasota
0895f02d87
"On Top" flag for Sprite3D
2017-08-24 23:12:11 +02:00
elasota
91140904cc
Fix AtlasTexture + Sprite3D using the wrong UV region
...
- Change get_rect_region to return UV region instead of pixel rect
- Fixed atlas texture Sprite3D Y offsets being applied in the wrong direction and fixed Flip not adjusting the geometry.
- Changed get_rect_region name to get_rect_region_uv_rect
2017-08-24 23:05:49 +02:00
Rémi Verschelde
5164eefdbe
Merge pull request #10606 from AlexHolly/fix-dummy-rasterizer
...
fix dummy rasterizer
2017-08-24 15:49:18 +02:00
AlexHolly
b18049c2aa
fix dummy rasterizer
2017-08-24 15:13:37 +02:00
Pedro J. Estébanez
e42d62ae73
Fix Android remote debug not hitting breakpoints
...
A change in `Main`'s API is needed. Please read the comment in the diff for an explanation.
2017-08-22 17:25:28 +02:00
Pedro J. Estébanez
723e8482c0
Make Android debug over USB the only option
...
'Remote debug over ADB' is removed as that will be always the case.
Closes #10458 .
2017-08-22 17:10:59 +02:00
Rémi Verschelde
fb90ac8e48
Merge pull request #10544 from hpvb/fix-10524-2.1
...
[2.1] Change order of Null check for ParallaxLayer
2017-08-22 15:26:18 +02:00
Hein-Pieter van Braam
7d190b61c8
Change order of Null check for ParallaxLayer
...
The change in #10524 subtly changes the behavior of set_motion_scale()
and set_motion_offset() if the ParallaxLayer does not have a parent
node. Previously it would still set the corresponding property, but
after this change the property change would be discarded.
I'm not entirely sure if this actually matters as there doesn't appear
to be any code that picks up this change if the ParallaxLayer gets
re-parented later, but it's better to not change behavior regardless.
2017-08-22 15:17:59 +02:00
Rémi Verschelde
3e397586bb
Merge pull request #10521 from RandomShaper/fix-double-parsing-2.1
...
Fix tokenization of doubles (2.1)
2017-08-22 15:03:33 +02:00
Rémi Verschelde
371473db89
Merge pull request #10510 from marcelofg55/osx_window_position_2.1
...
Fix y axis for set_window_position on OS X
2017-08-22 08:10:26 +02:00
Rémi Verschelde
6fab2a6314
Merge pull request #10525 from hpvb/fix-10515-2.1
...
[2.1] Add null check to ParallaxLayer get_parent() calls
2017-08-22 08:08:33 +02:00
Hein-Pieter van Braam
f33e8d7793
[2.1] Add null check to ParallaxLayer get_parent() calls
...
This fixes #10515
2017-08-22 02:14:07 +02:00
Pedro J. Estébanez
c97435cfa5
Fix tokenization of doubles
...
(cherry picked from commit 6759a28050
)
2017-08-22 00:01:04 +02:00
Marcelo Fernandez
e3394fc437
Fix y axis for set_window_position on OS X
2017-08-21 15:36:55 -03:00
Rémi Verschelde
813d82c54b
Merge pull request #10490 from hpvb/v2.1-fix-nan-index
...
[v2.1] Correct hash behavior for floating point numbers
2017-08-21 10:58:08 +02:00
Rémi Verschelde
9a98f3b71c
Merge pull request #10482 from marcelofg55/2.1
...
Fixed issues with borderless windows on Windows
2017-08-20 23:56:24 +02:00
Hein-Pieter van Braam
364f2e8082
Correct hash behavior for floating point numbers
...
This backports the work in #7815 and the subsequent fixes in #8393
The following program now works as expected in this branch in both
release_debug and debug mode:
```gdscript
print(sqrt(-1))
print(sqrt(-1))
var simple1=asin(10.0)
var simple2=acos(10.0)
print(simple1)
print(simple2)
```
And successfully prints -nan 4 times
This fixes #9580 and fixes #8925
2017-08-20 23:44:28 +02:00
Marcelo Fernandez
e0a243385b
Fixed issues with borderless windows on Windows
2017-08-20 12:22:14 -03:00
Rémi Verschelde
58508eef5b
Merge pull request #10438 from DrMoriarty/2.1_compile_fix
...
fix build for osx (2.1)
2017-08-19 10:39:32 +02:00
Vasiliy Makarov
d37d9aea8e
fix build for osx
2017-08-19 10:47:15 +03:00
Rémi Verschelde
e5102a99b9
Merge pull request #10419 from marcelofg55/2.1
...
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-18 21:21:08 +02:00
Marcelo Fernandez
647c4ae5bf
Add closest_power_of_2 func and implement mix_rate/latency on OS X
2017-08-18 12:10:21 -03:00
Rémi Verschelde
49028e0c49
Revert "Child Process Connected (in Editor Debugger) is now friendlier :-)"
...
This reverts commit 478531d5a8
.
As explained in #10192 , this commit changed the color of all errors.
2017-08-18 08:53:29 +02:00
Rémi Verschelde
938dc07b2b
Merge pull request #7912 from RandomShaper/pause-rasterizer-2.1
...
Implement time scaling for the rasterizer (2.1)
2017-08-17 11:43:58 +02:00
Rémi Verschelde
729c4113a6
Merge pull request #10381 from marcelofg55/2.1
...
Fix get_screen_* funcs returning old values after resolution changes on Windows
2017-08-17 11:07:49 +02:00
Rémi Verschelde
4a5ed3fd03
Merge pull request #10371 from Listwon/2.1
...
Update detect_visual_c_compiler_version(tools_env)
2017-08-17 07:36:42 +02:00
Rémi Verschelde
3552755306
TileMap Editor: Improve tile info setting using signal
...
The event-based approach avoids the need to query editor settings
and call show/hide on the Control at every mouse input.
Improves #9141 .
2017-08-16 20:03:02 +02:00
Rémi Verschelde
29632aadfd
Merge pull request #9141 from pixelpicosean/add-settings-to-hide-tile-info
...
Add setting to hide tile info on the tilemap menu
2017-08-16 19:06:04 +02:00
Marcelo Fernandez
830d7c1af1
Fix get_screen_* funcs returning old values after resolution changes on Windows
2017-08-16 13:13:31 -03:00
Rémi Verschelde
479c5ba754
Some fixes to 2 to 3 exporter
2017-08-16 17:52:03 +02:00
Rémi Verschelde
447f7644b0
Merge pull request #10327 from kubecz3k/fix-spatial-crash
...
fix crash after click on MeshInstance with no owner
2017-08-16 17:13:03 +02:00
Rémi Verschelde
29a8e1ac25
Merge pull request #10335 from marcelofg55/2.1
...
Implemented borderless window functions on OS X
2017-08-16 17:12:51 +02:00
Rémi Verschelde
1f0385cc28
Merge pull request #10377 from RandomShaper/fix-nav-double-point-2.1
...
Fix double point in Navigation2D (2.1)
2017-08-16 17:08:10 +02:00
Pedro J. Estébanez
b64d59f200
Fix double point in Navigation2D
...
Fixes #10324 .
(cherry picked from commit 71a496803c
)
2017-08-16 13:47:37 +02:00
Bartłomiej T. Listwon
990ce555a9
Update detect_visual_c_compiler_version(tools_env)
...
Update detect_visual_c_compiler_version(tools_env) to the newest version from master branch.
Fixes x64 compilation bug with MSVC 2015.3 similar to https://github.com/godotengine/godot/issues/3098
2017-08-16 10:44:40 +02:00
Pedro J. Estébanez
d0d0896c59
Let TileMap apply its material
...
So when a material is set, every tile will be rendered with that. Quadrants will not be recreated, so a `CanvasItem` will exist per material per quadrant regardless a global material is set.
This makes also __Use parent material__ work for `TileMap`s.
Based on 3bb5abbc35
2017-08-15 23:50:41 +02:00
Marcelo Fernandez
fe37afa8df
Implemented borderless window functions on OS X
2017-08-14 09:53:05 -03:00
Jakub Grzesik
295e0b6937
fix crash after click on MeshInstance with no owner
...
cherrypicked from #10258
2017-08-14 10:21:44 +02:00
Andreas Haas
e85be2f5df
InputDefault: Fix joypad actions when axis quickly changes direction.
...
The fix (inserting a fake event so actions get released properly) was already there but disregarded the case when the hardware sends values in the [0;1] range.
(cherry picked from commit 3bea3256f5
)
2017-08-13 20:29:47 +02:00
Zher Huei Lee
ed3cc7e5c9
Project manager UI displaced by long paths #10245
...
(cherry picked from commit 5c94eeeb79
)
2017-08-13 20:29:47 +02:00
vipsbpig
a04bb88e46
ability to click on spatial subscene to select it
...
(cherry-picked from d2d62122e2
)
2017-08-13 20:29:46 +02:00
Fabio Alessandrelli
82b7fca937
Explicitily unsed AI_NUMERICHOST flag to fix HTML5
...
(cherry picked from commit f863c0ca14
)
2017-08-13 20:29:46 +02:00
Juan Linietsky
0120f0473f
Clean up canvas item when changing state, closes #5977
...
(cherry picked from commit 950b205609
)
2017-08-13 20:29:46 +02:00
Juan Linietsky
f4d6e37c2f
push variable later when created, to avoid self-referencing as a valid case, closes #6111
...
(cherry picked from commit 95f10c620d
)
2017-08-13 20:29:46 +02:00
Juan Linietsky
b94c5a31cd
fix collada crash on invalid (blender internal expored...) file, fixes #6222
...
(cherry picked from commit de219e5cbe
)
2017-08-13 20:29:46 +02:00
Juan Linietsky
670d07ca0d
Attempt to resolve #4673
...
(cherry picked from commit 1939e83a65
)
2017-08-13 20:29:46 +02:00
Naughty
d6869d6260
Added missing descriptions to Vector2 methods abs and clamped.
...
(cherry picked from commit ce543bc079
)
2017-08-13 20:29:46 +02:00
Juan Linietsky
641135ba21
Display the Y angle properly when rotating from gizmo, partially helps #1479
...
(cherry picked from commit cd9539f85d
)
2017-08-13 20:29:46 +02:00
homer666
57084ada96
Adjust FileSystem split mode's height threshold
...
(cherry picked from commit e32abe8072
)
2017-08-13 20:29:46 +02:00