Commit graph

7498 commits

Author SHA1 Message Date
Rémi Verschelde
3fadbe2172 Merge pull request #9201 from vnen/rename-extensions
Rename Godot-specific resource extensions
2017-06-16 13:01:10 +02:00
Rémi Verschelde
3e7bbf2ca3 Merge pull request #9196 from volzhs/scene-tab
Enhance scene tabs
2017-06-16 08:14:45 +02:00
volzhs
fc2fe7ebd1 Enhance scene tabs
- show scene thumbnail on hover
- resize if has many tabs
- show full scene file name with current edited scene
- can be customized EditorSettings > Interface > Scene Tab
- close scene with mouse middle button
2017-06-16 13:21:05 +09:00
George Marques
7a8a789364 Merge pull request #9204 from Zylann/fix_mesh_poolvector_leak
Fixed memory leaks
2017-06-15 23:08:45 -03:00
Marc Gilleron
4dbe0967d5 Fixed memory leaks
- PoolVector leak
- mesh_remove_surface leak
2017-06-16 02:39:16 +02:00
George Marques
e42d59f01e
Rename Godot-specific resource extensions 2017-06-15 21:35:20 -03:00
Rémi Verschelde
43a84429ff doc: Sync classref with current source
Tried to salvage what I could of the Image and InputEvent changes.
2017-06-15 20:52:51 +02:00
Rémi Verschelde
4f8d9f0915 Merge pull request #9177 from tagcup/gcc5_isinf
Use inline code for isinf with gcc versions <6.
2017-06-15 20:46:10 +02:00
Rémi Verschelde
7b1f1dbf37 Merge pull request #9192 from remorse107/master
Color Picker Fixed Appearance
2017-06-15 19:17:11 +02:00
Rémi Verschelde
0a339f14a8 Merge pull request #9198 from vnen/fix-wheel-pos
Fix MouseWheel position on Windows
2017-06-15 18:45:22 +02:00
George Marques
dd2b7ef747
Fix MouseWheel position on Windows 2017-06-15 13:34:57 -03:00
Rémi Verschelde
5077d2d28d Merge pull request #9140 from ageazrael/bug-fix
Fixed middle mouse button can't bounce in macOS
2017-06-15 16:22:07 +02:00
Juan Linietsky
da14225ad8 fix bug related to unshaded materials not working on MSVC. Not cleanest solution, might think about how to improve later. 2017-06-15 10:36:00 -03:00
Juan Linietsky
47b34bf79b Remove error spam on Intel, closes #8665 2017-06-15 09:02:34 -03:00
remorse107
61feec28cf Color Picker Fixed Appearance
Corrected bug with color picker hue section and with the wrong color array being sent to the 256x256 palette selector.

Color Picker Fixed Appearance and clang Format
2017-06-15 06:32:57 -05:00
Rémi Verschelde
b7a2a40b8e Merge pull request #9176 from RandomShaper/fix-touchbutton
Fix/improve TouchScreenButton
2017-06-15 12:38:59 +02:00
Juan Linietsky
f8bd488457 Merge pull request #9109 from RandomShaper/optimize-2d-lighting
Add AT_LIGHT_PASS builtin to canvas shaders
2017-06-14 21:16:09 -03:00
Pedro J. Estébanez
93ffd9023f Add AT_LIGHT_PASS builtin to canvas shaders
This one allows for complex shaders paired with a simple lighting shader to skip code that would otherwise be pointlessly (and wastefully) run during the light pass.

Depending on your game (number of items and lights), this can yield some performance gain.
2017-06-15 02:03:15 +02:00
Ferenc Arn
cd1e14b1da Use inline code for isinf as a workaround for libstdc++ versions from gcc 5.x era.
Fixes #9166.
2017-06-14 18:30:22 -05:00
Rémi Verschelde
dc6642bc13 Merge pull request #9102 from Faless/debugger_listen_show_error
Editor now shows error when debug port is in use
2017-06-15 00:08:44 +02:00
Juan Linietsky
2b62872547 Fix _draw_polygon colors and uvs 2017-06-14 18:43:57 -03:00
Juan Linietsky
c1df35037f get rid of button array 2017-06-14 18:27:44 -03:00
Rémi Verschelde
108d8bcfc0 Merge pull request #9157 from capnm/fix-https-request
Don't append standard ports to the request header.
2017-06-14 23:15:38 +02:00
Rémi Verschelde
19017a760c Merge pull request #9158 from Hinsbart/script_templates
Add ability to use custom script templates.
2017-06-14 23:11:41 +02:00
Rémi Verschelde
80de0c35df Merge pull request #9160 from karroffel/color-ramp-rename
renamed occurances of ColorRamp with Gradient
2017-06-14 23:09:30 +02:00
Rémi Verschelde
bccee07ae7 Merge pull request #9165 from Noshyaar/pr-area
Refactor layer_mask to collision_layer
2017-06-14 23:04:04 +02:00
Rémi Verschelde
be31151199 Merge pull request #9174 from volzhs/file-mode-toggle
Make toggle between thumbnail and list for file dialog on editor
2017-06-14 22:47:50 +02:00
Rémi Verschelde
a91b62e4c7 Merge pull request #9175 from bd339/iss9156
Correct Image::blit_rect
2017-06-14 22:46:10 +02:00
Juan Linietsky
462d8ceb46 Fixed several bugs with directional light, and changed defaults to be more sensible. 2017-06-14 17:06:36 -03:00
Rémi Verschelde
0a87979d2e glad: Sync with upstream 0.1.14a0 2017-06-14 20:15:37 +02:00
Rémi Verschelde
c769a38c07 Merge pull request #9155 from kubecz3k/check-process-type
Ability to check if we are in fixed thread, solves: #3698
2017-06-14 17:21:54 +02:00
Pedro J. Estébanez
d27d1dba23 Fix/improve TouchScreenButton
- Refactor touch acceptance logic so the same is used whether passby is enabled or not.
- Remove the check for visibility during input handling as it should never fail; instead using now an ERR_FAIL_COND() just in case since we have been checking for that so far.
- Fix cast to wrong InputEventScreenTouch when it should be InputEventScreenDrag.
- Replaced use of references by plain pointers for a more readable code and maybe a little performance gain.
2017-06-14 17:19:58 +02:00
Rémi Verschelde
b21a1232ba Merge pull request #9173 from StraToN/signal-descriptions
[master] Add Signals descriptions when they exist.

[ci skip]
2017-06-14 16:12:56 +02:00
volzhs
7dde056d48 Make toggle between thumbnail and list for file dialog on editor 2017-06-14 23:00:39 +09:00
Benjamin Dahse
075997c563 Rewrite Image::blit_rect to use the following algorithm:
1. Let r1 be the source rectangle clipped against the entire source image rectangle.
2. Let r2 be r1 offset by p_dest, clipped against the entire destination image rectangle.
3. Copy pixels from r1 to r2.
2017-06-14 15:56:58 +02:00
Julian Murgia
9c7b4c82a7 Add Signals descriptions when they exist. 2017-06-14 15:48:50 +02:00
Rémi Verschelde
ffe61e63d1 Merge pull request #9162 from Zylann/fix_line2d_math
Fixed broken Line2D
2017-06-14 07:38:29 +02:00
Poommetee Ketson
6c44fff508 Refactor layer_mask to collision_layer 2017-06-14 10:58:34 +07:00
Marc Gilleron
0fd5ab479c Fixed broken Line2D due to math changes in f271591ac2 2017-06-14 02:21:40 +02:00
Karroffel
23c5fa8687 renamed occurances of ColorRamp with Gradient
ColorRamp got renamed to Gradient recently, reduz missed some occurances though.
2017-06-14 01:24:04 +02:00
Juan Linietsky
a8e845a474 Merge pull request #8548 from tagcup/etc2comp
Add ETC1/ETC2 compression support though etc2comp.
2017-06-13 19:17:13 -03:00
Martin Capitanio
5cabe5f0fc Don't append standard ports to the request header.
Breaks the SSL communication with some servers,
do the same that the other curl, wget, firefox & co clients do.

Fixes #9146
2017-06-13 22:58:23 +02:00
Andreas Haas
8361b1ce07 Add ability to use custom script templates.
Templates will be loaded from .godot/script_templates
For now they're disabled for GDNative.

Ideas for further improvements:

- Add a "Save as Template" option to the script editor, as it can normally only save to res://
- Support more placeholders / custom placeholders
2017-06-13 20:03:08 +00:00
kubeczek
a81b706e09 Fixed thread check, solves: #3698 2017-06-13 17:49:28 +02:00
Juan Linietsky
a8a1f2e2a8 -Fixed occluder rendering, closes #8560
-Ability to smooth out 2D shadow filters
2017-06-13 01:23:04 -03:00
Juan Linietsky
95c248e24f Remove default shadow bias of 0.1 for spot and omni light, fixes #8654 2017-06-13 00:07:05 -03:00
Juan Linietsky
b21d45e4e1 Change Omni light default mode to Cube, avoids users confusing it as a bug, closes #8813 2017-06-12 23:37:31 -03:00
Juan Linietsky
ea6cb22329 Merge pull request #8835 from ippan/particles_shader_index
add index to particles glsl
2017-06-12 23:33:41 -03:00
ageazrael
109ad227d3 Used in the macOS HiDPI options window is too small 2017-06-13 09:54:55 +08:00
ageazrael
b3accab62d Fixed middle mouse button can't bounce in macOS 2017-06-13 09:27:49 +08:00