Rémi Verschelde
16b78da941
Style: Various fixes to play nice with clang-format
...
(cherry picked from commit 2a0ddc1e89
)
2017-03-18 23:13:47 +01:00
Rémi Verschelde
dbf0137576
Style: Fix statements ending with ';;'
...
(cherry picked from commit f44ee891be
)
2017-03-18 21:14:33 +01:00
m4nu3lf
ca2277f3f1
Fixed property setter in G6DOF joint
...
(cherry picked from commit 0d9b53ce5e
)
2017-03-18 19:58:23 +01:00
Rémi Verschelde
e869a8a279
Merge pull request #7969 from RandomShaper/pr-7565-polish
...
PR 7565 + polish
2017-03-13 11:00:20 +01:00
Pedro J. Estébanez
1e79f80b90
Finish fix for POSITION in 2D shaders
2017-03-06 18:31:29 +01:00
Pedro J. Estébanez
95a5d9e617
Fix KinematicBody2D wrong motion origin
...
Got part of the fix from 5fc084c28e
Added an engine setting to enable the fix (physics_2d/motion_fix_enabled) which is false by default so the default behavior is the same as always
Added motion methods with a from parameter, the same as 3.0 does
2017-03-06 05:10:15 +01:00
Rémi Verschelde
d8223ffa75
Welcome in 2017, dear changelog reader!
...
That year should bring the long-awaited OpenGL ES 3.0 compatible renderer
with state-of-the-art rendering techniques tuned to work as low as middle
end handheld devices - without compromising with the possibilities given
for higher end desktop games of course. Great times ahead for the Godot
community and the gamers that will play our games!
(cherry picked from commit c7bc44d5ad
)
2017-01-12 19:15:30 +01:00
Patrick Reh
ff3891f88e
small improvement to y_sort: make clear which item has to be drawn first when two have the same y-coordinate
...
(cherry picked from commit 4118b21e43
)
2017-01-12 19:15:27 +01:00
Rémi Verschelde
eaf803f71e
style: Various other PEP8 fixes in Python files
...
Done with `autopep8 --select=E7`, fixes:
- E701 - Put colon-separated compound statement on separate lines.
- E702 - Put semicolon-separated compound statement on separate lines.
- E703 - Put semicolon-separated compound statement on separate lines.
- E711 - Fix comparison with None.
- E712 - Fix (trivial case of) comparison with boolean.
- E713 - Fix (trivial case of) non-membership check.
- E721 - Fix various deprecated code (via lib2to3).
2016-11-02 22:30:34 +01:00
Rémi Verschelde
e259bf8bbb
style: Fix PEP8 whitespace issues in Python files
...
Done with `autopep8 --select=E2,W2`, fixes:
- E201 - Remove extraneous whitespace.
- E202 - Remove extraneous whitespace.
- E203 - Remove extraneous whitespace.
- E211 - Remove extraneous whitespace.
- E221 - Fix extraneous whitespace around keywords.
- E222 - Fix extraneous whitespace around keywords.
- E223 - Fix extraneous whitespace around keywords.
- E224 - Remove extraneous whitespace around operator.
- E225 - Fix missing whitespace around operator.
- E226 - Fix missing whitespace around operator.
- E227 - Fix missing whitespace around operator.
- E228 - Fix missing whitespace around operator.
- E231 - Add missing whitespace.
- E231 - Fix various deprecated code (via lib2to3).
- E241 - Fix extraneous whitespace around keywords.
- E242 - Remove extraneous whitespace around operator.
- E251 - Remove whitespace around parameter '=' sign.
- E261 - Fix spacing after comment hash.
- E262 - Fix spacing after comment hash.
- E265 - Format block comments.
- E271 - Fix extraneous whitespace around keywords.
- E272 - Fix extraneous whitespace around keywords.
- E273 - Fix extraneous whitespace around keywords.
- E274 - Fix extraneous whitespace around keywords.
- W291 - Remove trailing whitespace.
- W293 - Remove trailing whitespace.
2016-11-02 22:28:28 +01:00
Rémi Verschelde
1185da656f
Merge pull request #6988 from RandomShaper/2.1
...
Fix shader tokenizer/compiler reporting wrong error location (2.1)
2016-11-02 22:10:00 +01:00
Pedro J. Estébanez
887b1de1db
Add/expose VisualServer::get_default_clear_color()
...
(cherry picked from commit 753ba67d65
)
2016-10-31 00:00:55 +01:00
Pedro J. Estébanez
a130520a7c
Fix shader tokenizer/compiler reporting wrong error location
...
Raname shader tokenizer methods for clarity
2016-10-30 22:09:23 +01:00
Rémi Verschelde
5a49e45d21
SCsub: Add python shebang as a hint for syntax highlighting
...
Also switch existing shebangs to "better" /usr/bin/env python.
(cherry picked from commit fc8ccd5b8c
)
2016-10-30 14:51:34 +01:00
Ignacio Etcheverry
55a5631986
Bindings: Fix missing default value
...
(cherry picked from commit 068b58b3ce
)
2016-10-17 20:43:25 +02:00
Ariel Manzur
cf427eeb7a
bind method canvas_item_set_sort_children_by_y
...
(cherry picked from commit 1f9e16119f
)
2016-10-09 17:39:17 +02:00
Fabio Alessandrelli
359b5f3b25
Expose more 2D/3D physics options in project settings
...
(cherry picked from commit 1d09c27ba4
)
2016-10-09 17:33:47 +02:00
Victor Seiji Hariki
a3c58999e2
Now ignoring remaining collision shapes.
...
(cherry picked from commit e5edd50d62
)
2016-10-09 17:22:48 +02:00
anneomcl
12edde80f2
Fix for #6158 . Converting Vector2 to Size2 for scaling functions.
...
(cherry picked from commit aa5ade834c
)
2016-10-09 17:18:54 +02:00
Ovnuniarchos
5653ac41f9
Mouse hotspot is not honored.
...
(cherry picked from commit 8fcd92c38a
)
2016-09-18 23:15:32 +02:00
Pedro J. Estébanez
c44757c2b7
Expose light shadow color to canvas item shaders
...
(cherry picked from commit 0960887625
)
2016-09-18 23:11:08 +02:00
Johan Manuel
a2b8ef6d51
Fix some warnings
2016-07-25 16:46:26 +02:00
Alex Piola
ffdd9f16dd
Fix for incorrect velocity report due to a typo.
...
Closes #5854
2016-07-24 12:53:07 +02:00
Rémi Verschelde
3725114a16
Merge pull request #5383 from Ovnuniarchos/OptimizeOneWay
...
Optimized one-way collision loops.
2016-07-18 16:37:50 +02:00
Juan Linietsky
0e6e0ed0e5
Merge pull request #5533 from Hinsbart/cursor_atex
...
Can use AtlasTextures as custom mouse cursor.
2016-07-10 12:41:57 -03:00
Rémi Verschelde
f40f360a2c
Remove unused variables (fourth pass) + dead code
...
Also fix a potential regression from 3fcb9b1ec1
.
2016-07-08 16:47:55 +02:00
Andreas Haas
91add16300
Can use AtlasTextures as custom mouse cursor.
...
fixes #3957
2016-07-03 19:36:12 +02:00
Ovnuniarchos
b09b449615
Optimized one way collision loops.
2016-06-24 08:43:23 +02:00
Juan Linietsky
d6225b1e00
Improved binding system (ObjectTypeDB::bind_method) to be friendlier to statically typed languages, should help in the Mono integration.
...
Disabled by default.
2016-06-22 23:13:41 -03:00
Juan Linietsky
4b05181397
Fixed a stupid bug with segment-segment collision in SAT physics, closes #4801 , closes #4984
2016-06-18 18:32:10 -03:00
Juan Linietsky
b4b80625d1
Change hash grid in 2D physics to contemplate large objects as separate cases, to avoid huge memory and performance penalty. Fixes #4662
2016-06-18 17:21:53 -03:00
Rémi Verschelde
c3bf11d4d4
Drop fully commented-out files
...
Part of #5272
2016-06-18 20:23:49 +02:00
Rémi Verschelde
80727b6896
Drop empty .cpp files for header-only classes
...
Part of #5272
2016-06-18 20:00:08 +02:00
Rémi Verschelde
b7dbf9207a
Drop empty files that are not used anywhere
...
Part of #5272
2016-06-18 19:46:30 +02:00
Rémi Verschelde
a7fc04626a
Add missing license headers in our source files ( #5255 )
...
Also removes a couple wrong Godot headers from third-party source files.
2016-06-18 14:46:12 +02:00
Juan Linietsky
3b5f1afb5c
Fixed fractional offset not being reset in ringbuffer resamples, closes #4764
...
Probably fixes other streamplayer issues too.
2016-06-17 20:38:10 -03:00
Juan Linietsky
64b4253dbf
changed visual server free() to free_rid() like in the other servers. Fixes #4917
2016-06-13 22:12:56 -03:00
Ovnuniarchos
471ab4e6ff
Documented many Physics2D* classes
2016-06-12 20:24:19 +02:00
Geequlim
fdf914e53e
Add texture region support for stylebox render
2016-06-05 00:45:53 +08:00
Juan Linietsky
8be2fabbe5
Changed import workflow
...
-Rearrange favorites in fs dock with drag and drop
-Removed import -> sub-scene, moved to scenetree contextual menu
-Removed import -> re-import , moved and integrated to FS dock
-Added ability in FS dock to re-import more than one resource
simultaneously
-Added ability to drag from native filesystem explorer to Godot, only
works on Windows though
-Removed scene reimport merge options, never worked well. Eventually
merging materials should be re-added
-Added ability to set custom root node type when importing scenes
-Re-Import is now automatic, can be configured back to manual in editor
settings
-Added resource previews in property list for many resource types
2016-05-27 14:19:11 -03:00
Carter Anderson
7df5249779
Remove noisy print
2016-05-23 22:56:32 -07:00
Juan Linietsky
d3495b128a
-Improve resource previews
...
-Also fixed draw_texture_rect() tile parameter
2016-05-23 17:11:49 -03:00
Juan Linietsky
eacb8f04c4
Merge remote-tracking branch 'origin/master'
2016-05-21 22:34:55 -03:00
Juan Linietsky
a75f896338
First version of Profiler
...
It is now possible to profile GDScript as well as some parts of Godot
internals.
2016-05-21 21:18:16 -03:00
Hubert Jarosz
33403d91f7
remove trailing whitespace
2016-05-21 15:29:25 +02:00
Rémi Verschelde
99e31e1005
Merge pull request #4547 from neikeq/pr-wrong-debug-methods
...
Fix wrong return and argument types in documentation
2016-05-05 09:27:14 +02:00
Juan Linietsky
89d87294db
ability to shrink all images x2 on load
...
this is for extreme cases when running on devices with very low video
memory, so you can still retain compatibility.
2016-05-04 12:37:07 -03:00
Ignacio Etcheverry
1e752c0120
Fix wrong return and argument types in documentation
2016-05-04 15:35:09 +02:00
Josh Grams
a7b4127481
RigidBody2D (add_force, set_inertia): new methods.
2016-04-26 08:15:15 -04:00
Josh Grams
ffaced87a6
RigidBody2D: rename apply_impulse(pos) to offset.
2016-04-24 04:36:51 -04:00