Commit graph

8571 commits

Author SHA1 Message Date
toger5
059a0496da Adapted godot to the new StyleBoxFlat 2017-08-15 19:36:34 +02:00
toger5
f05e61ed09 NEW Style Box Flat Implementation
- now use polygons!
 - renamed blend -> blend_border
 - draw_center -> filled
 - GDScript biding
2017-08-15 19:36:34 +02:00
Juan Linietsky
cb0e357d0b Converting to MeshLibrary works again, fixes #8092 2017-08-15 11:41:17 -03:00
Juan Linietsky
fdc2cdef0b Ensure nothing is found outside modal stack, but keep logic going. Fixes #7622 2017-08-15 07:32:15 -03:00
Andreas Haas
155402dc1b
Removing a Resource also deletes imported files. 2017-08-15 01:13:41 +02:00
Ignacio Etcheverry
7fc3c51169 Merge pull request #10339 from bojidar-bg/x-fix-scale-conflict
Rename Light2D::scale to texture_scale, so it doesn't conflict
2017-08-14 22:16:39 +02:00
Marcelo Fernandez
51f9bbc556 Fix get_screen_* funcs returning old values after resolution changes on Windows 2017-08-14 14:49:36 -03:00
Wilson E. Alvarez
21d281c4a9 Use const reference where favorable 2017-08-14 13:28:06 -04:00
Bojidar Marinov
4b0990bf8d
Rename Light2D::scale to texture_scale, so it doesn't conflict 2017-08-14 18:53:42 +03:00
Juan Linietsky
b7571582ed Ability to save objects to binary format 2017-08-14 11:59:23 -03:00
Ruslan Mustakov
ad457976fc Enable command-line export
The syntax is identical to what it was in 2.1, but now you specify
preset name instead of platform name.
2017-08-14 20:15:06 +07:00
Ruslan Mustakov
571a3a2dcd Use include/exclude export filters. Fixes #9860 2017-08-14 20:13:09 +07:00
M.H. Alkotob
92e74ed250 Fix console warning: Condition !env is true
The trivial yet astute fix was suggested by @bojidar-bg in IRC.
Compiling confirms it does the job, so thought I'd push a PR.
2017-08-14 14:48:35 +03:00
Fabio Alessandrelli
74795b98da Fix StreamPeer put_utf8_string not working 2017-08-14 13:19:02 +02:00
Jakub Grzesik
78e72c8e79 spatial selection if subscene geometry is far from origin 2017-08-14 09:53:46 +02:00
Gilles Roudiere
0041e08f74 Avoids inverted anchors
Add a push_opposite_anchor argument pushing the opposite anchor if
needed
2017-08-13 21:20:14 +02:00
Gilles Roudiere
c26af6f2b7 Adds a function to set Anchors with a layout preset 2017-08-13 21:20:14 +02:00
Gilles Roudiere
e76b535a1a Handle undo/redo of anchor positioning 2017-08-13 21:20:13 +02:00
Gilles Roudiere
e8c83b31bd Added the possibility to move all anchors at once when they are clustered 2017-08-13 21:20:13 +02:00
Gilles Roudiere
f5ff7e9fa0 Make anchors snap to each other 2017-08-13 21:20:13 +02:00
Gilles Roudiere
b73613e1eb Displays percentages when dragging anchors 2017-08-13 21:20:13 +02:00
Gilles Roudiere
2032cb2522 Simplifies the canvas editor code 2017-08-13 21:20:13 +02:00
Gilles Roudiere
3264cea7ae Add lines to make understandable when anchors are snapped 2017-08-13 21:20:13 +02:00
Gilles Roudiere
b329cb9c71 Snap anchors when dragged, depending on the zoom level 2017-08-13 21:20:13 +02:00
Gilles Roudiere
fcff42dcb7 Make anchors draggable 2017-08-13 21:20:13 +02:00
Gilles Roudiere
bd0384a9e9 Add anchor visualization 2017-08-13 21:20:13 +02:00
Gilles Roudiere
0d35d4d53b Replace GUI anchor type by a float between 0 and 1 2017-08-13 21:20:13 +02:00
TwistedTwigleg
deaf095dcf Exposed create_from_mesh in Navmesh 2017-08-13 14:13:48 -04:00
Niko Abeler
07809c162f Showing anchor icon in editor if control-node is hidden (fixes #9542) 2017-08-13 17:35:59 +02:00
Rémi Verschelde
9575dbdf78 Merge pull request #10298 from nhold/kinematic-body-2d-_move-fixes-#10107
Fix missing and incorrect values in return value of _move method
2017-08-13 17:26:59 +02:00
Rémi Verschelde
26137f37eb Merge pull request #10297 from leezh/fix_10181
Disabling Particles::one_shot restarts emission
2017-08-13 17:25:58 +02:00
Rémi Verschelde
0e81053de8 Merge pull request #10296 from raymoo/fixstreampeerbuffer
Fix broken stream reading in StreamPeerBuffer
2017-08-13 17:24:49 +02:00
Rémi Verschelde
a3d85c07af Merge pull request #10294 from leezh/fix_10245
Project manager UI displaced by long paths #10245
2017-08-13 17:22:55 +02:00
Rémi Verschelde
1ec6300421 Merge pull request #10258 from kubecz3k/spatial-select-no-owner-fix
fix crash after click on MeshInstance with no owner
2017-08-13 17:18:12 +02:00
Rémi Verschelde
4391b67e16 Merge pull request #10257 from Faless/html5_fixes
Fix for WebGL2 and HTML5 export
2017-08-13 17:17:27 +02:00
kbake
a72d17cf11 Scroll bars now look different on press 2017-08-12 17:46:26 -04:00
Wilson E. Alvarez
428f03cf06 Updated function argument names 2017-08-12 15:12:49 -04:00
Andreas Haas
3bea3256f5
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.
2017-08-12 20:46:36 +02:00
Andreas Haas
5052cb2b91
InputEventJoypadMotion: Add missing is_pressed() method. 2017-08-12 13:04:14 +02:00
Zher Huei Lee
a625d7edfc Disabling Particles::one_shot restarts emission
Fixes #10181
2017-08-12 18:37:01 +08:00
Nathan Hold
fb40846dca Fix missing and incorrect values in return value of _move method 2017-08-12 19:59:39 +10:00
Raymoo
f87100780e Fix broken stream reading in StreamPeerBuffer 2017-08-12 01:19:50 -07:00
Zher Huei Lee
5c94eeeb79 Project manager UI displaced by long paths #10245 2017-08-12 15:32:06 +08:00
Zher Huei Lee
b6ec3f02f0 Added Tile and TileFit to StyleBoxes
Was already implemented for Patch9 boxes, but wasn't exposed here.
Allows for use in other GUI elements like panels and buttons.
2017-08-12 09:57:56 +08:00
Fabio Alessandrelli
9b9a723c77 Some fixes for shaders and WebGL2
Add padding to UBO data to be multiple of 16 bytes
Add precision definition for samplers
Replace texture2D (deprecated) with texture in shaders
2017-08-11 23:26:24 +02:00
Jakub Grzesik
be8ae8df93 fix crash after click on MeshInstance with no owner
Due to how spatial selection works, after clicking on
MeshInstance that had no owner editor was crashing.
2017-08-11 19:59:30 +02:00
Fabio Alessandrelli
f863c0ca14 Explicitily unsed AI_NUMERICHOST flag to fix HTML5 2017-08-11 19:39:36 +02:00
Fabio Alessandrelli
45ddbbd738 Fix icon loading error a boot 2017-08-11 19:39:36 +02:00
Rémi Verschelde
23f6d3fa69 Merge pull request #10198 from jjay/f/stretch_aspect_expand
Add "expand" option for stretch aspect, no more black bars
2017-08-11 15:55:22 +02:00
Ignacio Etcheverry
1a04917fea Fixes ItemList::is_same_column_width() return type 2017-08-11 13:34:06 +02:00