summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
2019-11-08Revert "Fixed TouchScreenButton::shape_centered having no effect"Rémi Verschelde
This reverts commit 127c2d75ad109fe4a905f9061fcbc25d1e8b0ca9. This was a misunderstanding as #32725 is not a bug but expected behavior. Reverts #32927. Supersedes and closes #33436.
2019-11-07Merge pull request #32477 from aaronfranke/equal-approx-separateRémi Verschelde
Make is_equal_approx separate and make == exact again
2019-10-30Merge pull request #32934 from ajweeks/fix-scale-originRémi Verschelde
Fix 2D scale gizmo placement
2019-10-29Fixed disconnecting not connected signalMikolaj Kaczmarek
2019-10-27Merge pull request #31943 from codecustard/Fixes_invalid_frames_on_reverse_animRémi Verschelde
Fixes Reverse Animation Starting on First Frame
2019-10-26Merge pull request #32657 from ptrojahn/linesRémi Verschelde
Fix draw_rect
2019-10-24Fixed emitting not initialized correctly in cpu particles 2d/3dPouleyKetchoupp
Fixes uninitialized variable caused by PR #32921
2019-10-23Merge pull request #32992 from KoBeWi/AUTOVECTORZRémi Verschelde
Auto-increment frame_coords when keying
2019-10-22Merge pull request #32924 from ajweeks/add-ruler-arcsRémi Verschelde
Draw arcs to indicate angles being measured by ruler
2019-10-22Auto-increment frame_coords when keyingTomasz Chabora
2019-10-22Fix canvas scale gizmo placementAJ Weeks
2019-10-22Merge pull request #32927 from Muller-Castro/ShapeCenteredFixRémi Verschelde
Fixed TouchScreenButton::shape_centered having no effect
2019-10-22Merge pull request #32921 from nekomatata/fix-cpu-particle-delayRémi Verschelde
Fixed delay when CPUParticles & CPUParticles2D start being emitted
2019-10-22Merge pull request #32896 from nekomatata/joint-reset-collisionRémi Verschelde
Properly reset collision exception when releasing Joint2D
2019-10-20Fixed delay when CPUParticles & CPUParticles2D start being emittedPouleyKetchoupp
Particles were processed only on the next frame after the emission started, causing a one frame delay in rendering. Now the first process cycle is started during the same frame, which makes them consistent with Particles & Particles2D. Fixes #32890
2019-10-19Fixed TouchScreenButton::shape_centered having no effectMuller-Castro
The problem was that the shape_centered depended on TouchScreenButton::texture having a Texture
2019-10-19Add arcs to indicate angle being measured by rulerAJ Weeks
2019-10-17Properly reset collision exception when releasing Joint2DPouleyKetchoupp
Now using joint_disable_collisions_between_bodies() to reset the exception, because body_remove_collision_exception() was doing only a part of the work. Fixes #32733
2019-10-16Fixes Reverse Animation Starting on First FrameEmmanuel Barroga
When playing an animation in reverse, the animation initially starts on frame 0. If it loops, it'll play normally by going to the last frame of the animation, but if it does not... it prematurely stops, since it is already on the last frame (for reversed animation) by starting on frame 0.
2019-10-15Correct change made to joints_2d.cpp by 072e403.Marcel Admiraal
2019-10-14Replace vector == and is_zero_approx(distance) with is_equal_approxAaron Franke
Internal changes only
2019-10-13Fixes Sprite frame_coordsGilles Roudiere
2019-10-11Fix draw_rectPaul Trojahn
OpenGL uses the diamond exit rule to rasterize lines. If we don't shift the points down and to the right by 0.5, the line can sometimes miss a pixel when it shouldn't. The final fragment of a line isn't drawn. By drawing the lines clockwise, we can avoid a missing pixel in the rectangle. See section 3.4.1 in the OpenGL 1.5 specification. Fixes #32279
2019-10-08Fix crash in TileMap::update_cell_bitmaskqarmin
2019-10-07Merge pull request #32351 from nekomatata/texture-rect-size-updateRémi Verschelde
Update TextureRect when its Texture is modified directly
2019-10-05Update TextureRect and Sprite when their Texture is modified directly.PouleyKetchoupp
Modified Sprite to use "changed" signal instead of _changed_callback to make it work when tool is disabled (change receptors are editor only). Fixes #32349
2019-10-05Fix crash in TileMap::fix_invalid_tilesqarmin
2019-10-02Revert "Fixes CPUParticles2D not making use of AtlasTextures"Rémi Verschelde
2019-10-02Merge pull request #32459 from bitstopper/masterRémi Verschelde
Fixes CPUParticles2D not making use of AtlasTextures
2019-10-01Fixes CPUParticles2D not making use of AtlasTexturesbitstopper
Fixes CPUParticles2D not making use of AtlasTextures #2
2019-09-30Altered rotation_degrees rangeSoumya Lahiri
2019-09-26Fix TileMap world_to_map rounding issue for negative integersbob
The previous code would fail for negative integer values like -3.0 (would return -4 instead of -3). Fixes #31468.
2019-09-25Merge pull request #32119 from Calinou/unify-axis-colorsRémi Verschelde
Use the same axis colors consistently in the 2D and 3D editors
2019-09-25Merge pull request #32051 from qarmin/some_error_explanationRémi Verschelde
Added some obvious errors explanations
2019-09-25Added some obvious errors explanationsqarmin
2019-09-24Merge pull request #32309 from clayjohn/particles_tex_scaleRémi Verschelde
Fix particles scale randomization
2019-09-24fix particles scale randomizationclayjohn
2019-09-22Changed some code found by Clang Tidy and Coverityqarmin
2019-09-19Fix misc. source comment typosluz.paz
Found using `codespell -q 3 -S ./thirdparty,*.po -L ang,ba,cas,dof,doubleclick,fave,hist,leapyear,lod,nd,numer,ois,paket,seeked,sinc,switchs,te,uint -D ~/Projects/codespell/codespell_lib/data/dictionary.txt `
2019-09-13Use the same axis colors consistently in the 2D and 3D editorsHugo Locurcio
2019-09-03Merge pull request #31476 from SoulForMachine/fix-move-and-slide-errorRémi Verschelde
Prevent move_and_slide() to generate an error.
2019-09-02Merge pull request #31878 from aole/Initialize-TileMap-Custom-TransformRémi Verschelde
Initialize TileMap Custom Transform
2019-09-01Initialize TileMap Custom TransformBhupendra Aole
Initialize TileMap Custom Transform to same as Cell Size (64). Fixes #30948.
2019-08-31Call some CanvasItem property setters only if neededHugo Locurcio
The CanvasItem property setters `set_modulate`, `set_self_modulate` and `set_light_mask` have some side effects that don't need to be run if the value hasn't changed. This closes #31777.
2019-08-30Remove some unneeded checks in CollisionObject(2D)Michael Alexsander Silva Dias
2019-08-26Prevent move_and_slide() to generate an error.Milan Davidovic
When moving KinematicBody2D from one scene to another and not freeing the old scene, the first call to move_and_slide() in the new scene will generate an error because KinematicBody2D keeps internaly a RID on_floor_body of a body resource in the old scene which no more has a space assigned. To fix this, on_floor_body is set to empty RID in response to NOTIFICATION_ENTER_TREE notification of KinematicBody2D and KinematicBody. Also all other data related to move_and_slide() is reset: floor, ceiling, wall flags, colliders vector, floor_velocity. This fixes #31416.
2019-08-23Merge pull request #31014 from DavidSichma/kinematic_angleRémi Verschelde
Fix floor_max_angle comparison for impossible angles
2019-08-22Fix custom inertia in physics2d, closes#30838RaphaelHunter
2019-08-20Merge pull request #31395 from ptrojahn/floatsarenastyRémi Verschelde
Replace is_zero_approx(A.distance_to(B)) with A==B
2019-08-19Replace is_zero_approx(A.distance_to(B)) with A==BPaul Trojahn
Related to #22988 (Fixes the holes in the shape of the first comment)