summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
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)
2019-08-18Improve the appearance of 2D path editorsHugo Locurcio
- Add new handle icons for path/polygon editors - Add smooth path point icons and curve tangent icons - Use a gray color for tangent lines in the Path2D and Path editors - Use antialiasing for Path2D lines
2019-08-14Merge pull request #31360 from nekomatata/fix-error-parallax-mirroringRémi Verschelde
Fixed error in ParallaxLayer when set_mirroring is called before entering the tree
2019-08-14Fixed error in ParallaxLayer when set_mirroring is called before entering ↵PouleyKetchoupp
the tree Fixes #31300
2019-08-12Remove redundant author doc commentsIAmActuallyCthulhu
2019-08-09Remove ERR_EXPLAIN from scene/* codeTomasz Chabora
2019-08-08Merge pull request #31194 from bojidar-bg/29312-corrupt-initial-tilemapRémi Verschelde
Fix corrupted TileMap saves due to missing/wrong format
2019-08-08Fix corrupted TileMap saves due to missing/wrong formatBojidar Marinov
Fixes #29312
2019-08-07Merge pull request #31077 from qarmin/coverity_bugsRémi Verschelde
Change some code proposed by Coverity and Cppcheck
2019-08-07Add some code changes/fixes proposed by Coverity and Clang Tidyqarmin
2019-08-06Tweaks related to Camera2D drag marginsTomasz Chabora
2019-08-01Merge pull request #30905 from clayjohn/set-cpuparticles2d-visibleRémi Verschelde
Toggle CPUParticles2D visibility when redrawing
2019-08-01Fix floor_max_angle comparison for impossible anglesDavid Sichma
2019-07-31Tweak Area and PhysicsBody damping setting hints for consistencyHugo Locurcio
This partially addresses #19182.
2019-07-28toggle CPUParticles2D visibility when redrawingclayjohn
2019-07-27Add frame_cords accessors to Sprite and Sprite3Dgroud
2019-07-25Inspector: Fix PROPERTY_HINT_SPRITE_FRAME not behaving as RANGERémi Verschelde
This was a regression in 3.1 and later from the new inspector, where PROPERTY_HINT_SPRITE_FRAME was not fully re-implemented. It's meant to be a normal PROPERTY_HINT_RANGE which also automatically increments its value when keyed in the animation player. To avoid code duplication, I made the frames properties use the actual PROPERTY_HINT_RANGE and introduced a PROPERTY_USAGE_KEYING_INCREMENTS usage flag instead.
2019-07-20Merge pull request #30576 from qarmin/lgtm_coverageRémi Verschelde
Changed some code reported by LGTM and Coverity
2019-07-20Changed some code showed in LGTM and Coverageqarmin
2019-07-15Merge pull request #30590 from clayjohn/particle_lifeRémi Verschelde
Added individual particle random lifetime
2019-07-14added individual particle random lifetimeclayjohn
2019-07-12Improve 2D RayCast and one-way collision drawingHugo Locurcio
- Make RayCast2D gray when it's disabled - Make the one-way collision arrow use the inverted shape debugging color (will result in an orange color by default) - This makes it easier to distinguish it from RayCast2D arrows - Make lines slightly thinner - Make the RayCast2D arrow tip larger - Use anti-aliasing for the RayCast2D and one-way collision lines
2019-07-10Merge pull request #30451 from raphael10241024/fix_outlineRémi Verschelde
Fix DynamicFont outline does not draw using draw_char
2019-07-09Merge pull request #30304 from DavidSichma/remote_cacheRémi Verschelde
Exposed update_cache() of RemoteTransform and RemoteTransform2D
2019-07-09Add `width` and `antialiased` parameters to CanvasItem `draw_rect()`Hugo Locurcio
This also removes some duplicated editor code which is now obsoleted by the new parameters in `draw_rect()`.