Commit Graph

9420 Commits

Author SHA1 Message Date
Hein-Pieter van Braam b7c4b9b8cd Document Line2D 2017-09-09 21:53:58 +02:00
Lewis b11e145ddc Removed code that flips normal if facing away from test direction 2017-09-09 20:08:35 +01:00
Chris Bradfield c68a34d6bf Update TextureRect class ref 2017-09-09 11:17:37 -07:00
LikeLakers2 e4c274752a Use gdquest's suggestions 2017-09-09 13:12:06 -04:00
Przemysław Gołąb (n-pigeon) 9ee65942db Documented Spatial node. 2017-09-09 17:23:29 +02:00
Hein-Pieter van Braam 13fe1a344e Correct InputEvent documentation 2017-09-09 17:22:14 +02:00
Hein-Pieter van Braam daa66cd5c2 Correct the Pool*Array documentation 2017-09-09 16:39:22 +02:00
Nathan Warden 236025dccf Updated documentation for StaticBody. 2017-09-09 09:30:38 -05:00
Nathan Warden 8f1cf87a82 Updated the 'members' documentation for Rigidbody. 2017-09-09 08:55:41 -05:00
Nathan 6cb6be4b89 improve some descriptions for the Control node 2017-09-09 15:31:42 +02:00
toger5 e835d80a3f update icons for animation_player_plugin (top bar) 2017-09-09 04:19:43 +02:00
toger5 a6e03b4aed update for icons on theme change animation editor 2017-09-09 03:47:58 +02:00
toger5 f604cff8a7 removed hardcoded colors in animation editor 2017-09-09 03:32:06 +02:00
Daniel J. Ramirez f8dad1e61b Better looking spatial editor grid 2017-09-08 18:49:30 -05:00
Hein-Pieter van Braam 2ec0bc4f80 Fix crash on wrong type drag into the vs editor
Don't allow drops of draggable items without a vs node type.

This fixes #10935
2017-09-09 00:34:53 +02:00
mrawlingst 06627fad20 Update ColorRect class ref documentation 2017-09-08 09:24:16 -04:00
mrawlingst 4f65c4d092 Update Color class ref documentation 2017-09-08 09:17:31 -04:00
Hein-Pieter van Braam b2a38854fd Fix unused variable warnings
The forth in my quest to make Godot 3.x compile with -Werror on GCC7
2017-09-08 15:03:53 +02:00
Hein-Pieter van Braam 8230bf0a2f Remove assignment and declarations in if statements
After discussing with @reduz and @akien-mga it was decided that we do
not allow assignments or declarations in if statements. This PR removes
the instances of this I could find by automated means.
2017-09-08 14:59:15 +02:00
Hein-Pieter van Braam 67a706fc1b Fix various assorted warnings
Fix various warnings that don't have enough instances to merit
individual commits. Also fixes a potential bug in audio_server.cpp.
2017-09-08 14:57:48 +02:00
Rémi Verschelde d1cb73b47a Merge pull request #11064 from Noshyaar/docs
ClassRef: fill in the blanks
2017-09-08 11:25:58 +02:00
Poommetee Ketson 11ccf22540 ClassRef: fill in the blanks 2017-09-08 15:15:04 +07:00
BastiaanOlij 099546ac00 Fixed loading package from resource folder, exporting textures to bundle and added a bit of feedback for a debug compile 2017-09-08 11:39:32 +10:00
Juan Linietsky 5ca3af3371 Ability to use a sky for reflection together with a background color. 2017-09-07 20:45:37 -03:00
Juan Linietsky c023a132d0 Fixed orthogonal projection in all effects and post processes 2017-09-07 20:16:33 -03:00
Hein-Pieter van Braam 5e18967d77 Fix serveral recent new clang-format errors 2017-09-08 00:20:16 +02:00
Juan Linietsky eedb39091a Several fixes to directional shadows, closes #10926
Added option to change directional light range mode, between optimized and stable. For Orthogonal, you might need to use optimized.
2017-09-07 18:00:47 -03:00
mrawlingst 6aa5bc2347 Change Color.to_32() to to_rgba32() and format as RGBA 2017-09-07 16:19:44 -04:00
Daniel J. Ramirez c0a971468e Added some missing icons 2017-09-07 13:22:41 -05:00
Scayze 6872cc7b12 Add get_points method to AStar 2017-09-07 19:15:46 +02:00
Juan Linietsky 1eeda0f32f Restored auto snapping of controls to pixels, fixes #10847 and probably several more issues. Made it optional in the project settings but defaults to true. 2017-09-07 11:22:07 -03:00
toger5 b1f804094d Modify inertia implementation for freelook and orbit
- freelook now uses position based inertia (holding a key for a
   specific time always rults in the same distance traveled independent
of inertia setting)
 - orbit inertia now is angle bases. (not transformation based) ->
   camera always takes the same path.
 - added setting for orbit inertia
 - added setting hints for freelook settings.
2017-09-07 15:55:58 +02:00
toger5 44f12be3f4 Revert "Removed camera interpolation in orthogonal mode (I have no idea how to fix this due to how orthogonal works), closes #10718"
This reverts commit 895140389a.
2017-09-07 15:55:58 +02:00
Juan Linietsky 895140389a Removed camera interpolation in orthogonal mode (I have no idea how to fix this due to how orthogonal works), closes #10718 2017-09-07 09:58:38 -03:00
Juan Linietsky b19b7aebf7 Merge pull request #11027 from hpvb/fix-11022
Fix EOF in wav file importer
2017-09-07 07:53:56 -03:00
Hein-Pieter van Braam 6fb86dda8a Fix using enum as bool value
This warning actually hid a bug. The value of ERR_INVALID_DATA is
actually 30, returning this as a bool returns true while false was
required.
2017-09-07 11:39:14 +02:00
Hein-Pieter van Braam 0b23a31b43 Fix warnings comparing enums of different types
This fixes a source of many compiler warnings regarding comparing the
enum VARIANT_TYPE to Variant::Type. This changes the local value to a
static const Variant::Type value rather than an unrelated enum, this
also saves us a cast.
2017-09-07 09:03:11 +02:00
Juan Linietsky 5f0d367fef Mono vorbis support fixed, closes #10787 2017-09-06 23:13:57 -03:00
Juan Linietsky 8047127bc6 Force redraw when HDR auto exposure is enable in all frames, fixes #10784 2017-09-06 23:02:06 -03:00
Juan Linietsky 98af411a37 Renamed playing property of audiostreams to play, to make it clearer. Fixes #10730
Also disabled the auto shut down of the property when stream ends, to make it easier to animate
2017-09-06 22:03:04 -03:00
Juan Linietsky dd854768da -Fix folow surface in subsurface scattering, closes #10696
-Fixed filter kernels of subsurface scattering so quality settings make more sense
2017-09-06 21:45:02 -03:00
Marcelo Fernandez ff285bcee2 Added an option to reset the bus volume to 0db 2017-09-06 21:11:31 -03:00
Nabor Erices 1c8cc1ab50 Added support to rename projects on manager 2017-09-06 21:10:30 -03:00
Hein-Pieter van Braam cbedb54408 Fix EOF in wav file importer
In #10973 I reset the state of the stream in get_pos() assuming that the
ftell failing would cause proper error checking. This is not how this
class was designed, however. This commit fixes the get_8() method to
not return unitialized data on eof, and removes the wrong error resets
added in #10973.

This fixes #11022
2017-09-07 00:26:17 +02:00
volzhs 41cc85fb20 Fit script editor grid with others 2017-09-07 06:25:57 +09:00
Juan Linietsky 36e91b07d8 Check whether stuff is visible before baking it, closes #10525 2017-09-06 18:24:29 -03:00
Juan Linietsky c771e03ee2 -Fixed changes to default input actions not working, closes #10502
-Added Array.duplicate() method, needed to fix above
2017-09-06 18:14:04 -03:00
toger5 1c07d0e9aa rtl uses styleBoxEmpty as defualt 2017-09-06 16:29:22 +02:00
Rémi Verschelde 0b8fa1e010 Remove dead ButtonGroup code 2017-09-06 14:41:34 +02:00
Juan Linietsky ddadc782ba Fix frame selection in 2D particles, closes #10668 2017-09-06 08:31:11 -03:00