Juan Linietsky
fc61eb37ce
Merge pull request #5920 from 29jm/fix-warnings
...
Fix some more warnings
2016-09-10 12:21:02 -03:00
Juan Linietsky
c5b7385110
Merge pull request #6250 from Ovnuniarchos/CursorHotspot
...
Mouse hotspot is now honored.
2016-09-10 12:07:08 -03:00
Juan Linietsky
5fc084c28e
-Fixed issue in Kinematicbody2D
2016-09-01 12:03:55 -03:00
Juan Linietsky
fc70824f7c
More improvements to visual script..
...
fixed a bug of not saving when sub-nodes changed.
2016-08-31 17:58:51 -03:00
Rémi Verschelde
ce7e2ae4f4
draw_line: Properly bind antialiased argument
2016-08-31 08:57:21 +02:00
Juan Linietsky
fb4d6d1db0
More visual script improvements
...
-Added anti-aliasing on lines
-Improved draw performance enormously
-Removed sequence ports for most nodes, current visual scripts will likely be broken now. Sorry!
2016-08-30 23:46:41 -03:00
Ovnuniarchos
8fcd92c38a
Mouse hotspot is not honored.
2016-08-23 07:57:04 +02:00
Johan Manuel
046f94d3ac
Remove some unused variables
2016-08-13 13:21:35 +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
Josh Grams
f7d31cec38
RigidBody2D: add and bind get_inertia() method.
...
You can't set this value very well, since it's automatically computed
from the mass and the collision shapes. But since the values are higher
than many people might suspect, so being able to read it helps estimate
the amount of torque you might need to apply.
2016-04-20 20:49:37 -04:00
Rémi Verschelde
e07266f6c1
Merge pull request #4273 from bojidar-bg/add-layers-and-masks-to-3d
...
Port collision and layer masks to 3D
2016-04-12 13:17:26 +02:00
Marc Gilleron
d239e6bc0e
Fixed #4163 (intersect_shape crashes on results limit)
2016-04-12 02:18:41 +02:00
Bojidar Marinov
f7c3d6329c
Port collision and layer masks to 3D, fixes #1759
...
Raycasts now have type_mask and layer_mask. Areas - collision_mask and layer_mask. PhysicsBodies needed only collision_mask.
2016-04-09 22:11:12 +03:00
Rémi Verschelde
aec4f57f95
Merge pull request #3528 from SaracenOne/baked_light_realtime_colourize
...
Ability to colourize baked lighting in real time.
2016-03-15 10:22:09 +01:00
Saracen
24bc7d8db7
Fix 'FLAG_RECEIVE_SHADOWS' flag for GeometryInstances so that turning it off now correctly disables shadows from affecting the instance.
2016-03-12 16:51:17 +00:00
Rémi Verschelde
aaad24e6fb
Merge pull request #3865 from Marqin/coverity
...
[Coverity] fixed 11 of 537 potential bugs found by Coverity
2016-03-10 16:15:49 +01:00
Rémi Verschelde
b5f873c9d1
Merge pull request #3999 from neikeq/issues_3650_3990
...
Fix crash when resizing ConcavePolygonShape2D segments
2016-03-10 06:29:20 +01:00
Ignacio Etcheverry
3fc16d4025
Fix crash when resizing ConcavePolygonShape2D segments
2016-03-09 19:52:15 +01:00
Hubert Jarosz
7b07bcaf44
fix six possible "divide by zero"
2016-03-09 00:18:23 +01:00
Hubert Jarosz
4a4f247914
remove trailing whitespace
2016-03-09 00:00:52 +01:00
Saracen
7fecebd8a8
Added extra controls to GeometryInstances to control how they should cast shadows: double-sided and shadows only.
...
Conflicts:
servers/visual/visual_server_raster.h
2016-03-07 23:14:14 +00:00
Nuno Donato
2d1de83434
refix particles3d issue, bringing down the amount limit to 1024
2016-02-16 08:56:31 +00:00