summaryrefslogtreecommitdiff
path: root/scene/2d
AgeCommit message (Collapse)Author
2019-06-27Merge pull request #29941 from qarmin/redundant_code_and_othersRémi Verschelde
Remove redundant code, possible NULL pointers and others
2019-06-26Some code changed with Clang-Tidyqarmin
2019-06-24Area2D: Fix argument type of body_* signalsRémi Verschelde
Those signals receive either a PhysicsBody2D or a TileMap object, and what the emitting method checks internally is only that the object is a Node. In theory any Node could go through these signals if they talk directly to the PhysicsServer2D. Also updated docs. Fixes #27076. Might need further (compat breaking) improvement as this API is a bit confusing, cf. #24739.
2019-06-24Merge pull request #29974 from clayjohn/particles_restartRémi Verschelde
Properly set emitting when particles restart
2019-06-21properly set emitting when particles restartclayjohn
2019-06-21CPUParticles: Set linear velocity to 0, like GPU ParticlesRémi Verschelde
2019-06-21Particles: Properly initialize angular velocity parameterRémi Verschelde
Right now it would take garbage values when loading scenes, which could end up written to the scene file.
2019-06-20Merge pull request #29283 from qarmin/fix_some_always_same_valuesRémi Verschelde
Remove always true/false values
2019-06-20Fix always true/false valuesqarmin
2019-06-19Made use of semicolons more consitent, fixed formattingJohnJLight
2019-06-17change emit shape circle to sphere in CPUParticles2Dclayjohn
2019-06-16Tweak some editor property hints to be more flexible and consistentHugo Locurcio
This partially addresses #19242.
2019-06-16Merge pull request #29700 from clayjohn/cpuparticles_transform_bugRémi Verschelde
Fix CPU particles bug with local_coords and transform
2019-06-15Fix compilation warnings in JS and Windows buildsRémi Verschelde
Warnings raised by Emscripten 1.38.0 and MinGW64 5.0.4 / GCC 8.3.0. JS can now build with `werror=yes warnings=extra`. MinGW64 still has a few warnings to resolve with `warnings=extra`, and only one with `warnings=all`. Part of #29033 and #29801.
2019-06-14fix CPU particles bug with local_coords and transformclayjohn
2019-06-13Implement missing orbit velocity for CPUParticles and CPUParticles2DRémi Verschelde
The relevant code was copied from (GPU) ParticlesMaterial but commented out initially, and never ported. Closes #29580.
2019-06-12Cleanup some unecessary editor/ includes in scene/Rémi Verschelde
Part of #29730, handles false positives.
2019-06-12Merge pull request #29306 from qarmin/small_code_fixesRémi Verschelde
Small fixes to unrechable code, possibly overflows, using NULL pointers
2019-06-12Merge pull request #29696 from akien-mga/cpuparticles-randomnessRémi Verschelde
CPUParticles: Do randomness ratio computations in phase instead of time
2019-06-12Merge pull request #29685 from akien-mga/cpuparticles-tangential-accelRémi Verschelde
CPUParticles: Fix inconsistent tangential acceleration
2019-06-11CPUParticles: Do randomness ratio computations in phase instead of timeRémi Verschelde
The original shader code uses a phase (ratio from 0 to 1 for the particle lifetime) for the randomness ratio computations, and this code was ported over but converted to time computations. The seeding/cycle logic was thus invalid, so we're going back to phase for these computations, thus fixing the previous non-working time/emission randomness property. Part of #29692. Follow-up to #26859.
2019-06-11CPUParticles: Fix inconsistent tangential accelerationRémi Verschelde
The tangential acceleration for both CPUParticles2D and CPUParticles had been badly converted from their GPU counterpart (ParticlesMaterial). This fixes it and ensures that both GPU and CPU particles behave the same with regard to tangential acceleration.
2019-06-11Fix error macro calls not ending with semicolonRémi Verschelde
It's not necessary, but the vast majority of calls of error macros do have an ending semicolon, so it's best to be consistent. Most WARN_DEPRECATED calls did *not* have a semicolon, but there's no reason for them to be treated differently.
2019-06-11Merge pull request #29558 from SamSindt/fix-lifetime-reversed-CPUParticles2DRémi Verschelde
Reversed operator in SortLifetime fixing #29440
2019-06-11Merge pull request #29519 from Ranoller/masterRémi Verschelde
Make tilemap texture origin point top-left.
2019-06-10Fix crash when frames are emptyqarmin
2019-06-06Reversed operator in SortLifetime fixing #29440SamSindt
2019-06-06Fix 2D Line crashqarmin
2019-06-05Make tilemap texture origin point top-left.Ranoller
Fix https://github.com/godotengine/godot/issues/29487. In this commit: https://github.com/godotengine/godot/pull/28896 bad offset of textures and shapes was fixed, but a center of texture was added too, and this seems not dessired by default because breaks too much compatibility with demos and user projects. A future Check box for center texture can be added
2019-06-03Small fixes to unrechable code, possibly overflows, using NULL pointersqarmin
2019-06-03added MultiMeshInstance2D node for using MultiMesh in 2Dclayjohn
2019-06-02Properly add "texture_changed" signal to MeshInstance2DMichael Alexsander Silva Dias
Fixes #29410.
2019-06-02Merge pull request #28390 from KoBeWi/smaller_bigger_gizmoRémi Verschelde
Allow to change Position2D gizmo size
2019-06-01Allow to change Position2D gizmo sizeTomasz Chabora
2019-06-01Merge pull request #24560 from guilhermefelipecgs/fix_24549Rémi Verschelde
Add EDITMODE_PRIORITY for ATLAS_TILE
2019-05-29Fix wrong property binding for NavigationPolygon::verticesRémi Verschelde
2019-05-28Merge pull request #28896 from Ranoller/masterRémi Verschelde
Fix tilemap displaced textures and shapes
2019-05-25Don't allow PathFollow offset outside boundsTomasz Chabora
2019-05-24Don't modulate canvas on invisible color changeTomasz Chabora
2019-05-22Fix 2D bones ignored by onion skinningPedro J. Estébanez
Fixes #27819.
2019-05-19Fix typos with codespellRémi Verschelde
Using codespell 1.15.0. Method: ``` $ cat > ../godot-word-whitelist.txt << EOF ang curvelinear doubleclick leapyear lod merchantibility nd numer ois ony que seeked synching te uint unselect webp EOF $ codespell -w -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po" $ git diff // undo unwanted changes ```
2019-05-15Fix tilemap displaced textures and shapes with origin point BOTTOM_LEFT and ↵Ranoller
CENTER and other casuistry This commit fix https://github.com/godotengine/godot/issues/22989 fixing displaced textures and not coincident shapes in tilemap. Fix too: https://github.com/godotengine/godot/issues/15249, https://github.com/godotengine/godot/issues/28206, https://github.com/godotengine/godot/issues/28610 and probably others
2019-05-04Fix ParallaxBackground breaking when moving it out the scene treeColin Redman
2019-04-30Merge pull request #27371 from ShyRed/fixdisabled2dcollisionsRémi Verschelde
Allow adding disabled shapes
2019-04-30Merge pull request #27805 from Kanabenki/line2d-add-point-idxRémi Verschelde
Add optional position argument for add_point in Line2D
2019-04-30Merge pull request #27845 from samdze/masterRémi Verschelde
Make TileMap overridable "set_cell" function called on undo/redo
2019-04-29Merge pull request #18992 from aaronfranke/mono-equal-approxRémi Verschelde
[Core] [Mono] Improve and use approximate equality methods
2019-04-27Make TileMap overridable "set_cell" function called on undo/redoSamuele Zolfanelli
2019-04-27Revert "Fix AudioStreams::stop possibly causing a small noise"Juan Linietsky
2019-04-25Use approximate equallity methods in many placesAaron Franke