aboutsummaryrefslogtreecommitdiff
path: root/scene/3d/particles.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* updated some particlematerial propertiesclayjohn2018-06-101-2/+2
|
* Allow editing of some unbound properties when hinted (or no range hinted)Juan Linietsky2018-05-161-11/+11
|
* Merge pull request #16359 from Noshyaar/convertRémi Verschelde2018-05-031-20/+5
|\ | | | | Particles: fix corrupted scene when saved after convert
| * Particles: fix corrupted scene when saved after convert (2nd try)Poommetee Ketson2018-02-241-20/+5
| |
* | Fixes logically dead code (Coverity)Crazy-P2018-04-211-6/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Fixes reported logically dead codes by Coverity * image.cpp: Doesn't really need any modification. But to remove the bug report then we have to move the MAX call away from the for loop statement. * rasterizer_gles3.cpp: Removes unnecessary elif condition since it is checked earlier in the function * collada.cpp: If stamement never reached due to macro ERR_CONTINUE does the same. * navigation_mesh.cpp: Variables should always be null - however, also checked for the very same condition in their function call. Leaving this for review (whether the function call is necessary or not) * path_editor_plugin.cpp: If cancel is true, then it should restore the edited value to the original provided. http://docs.godotengine.org/en/3.0/classes/class_editorspatialgizmo.html#class-editorspatialgizmo-commit-handle * spatial_editor_gizmos.cpp: the very condition of i >= 3 is predetermined in the if case right before it. Thus case 1 is always '1' and case 2 is always '-1' * grid_map_editor.cpp: Same as above in spatial_editor_gizmos.cpp * voxel_light_baker.cpp: Same as above in spatial_editor_gizmos.cpp * visual_server.cpp: Same as above in spatial_editor_gizmos.cpp * visual_script_expression.cpp: char '-' is already true in the switch case mechanism. Thus it can never reach to default case. * particles.cpp: Case 'PARAM_MAX' is unreachable due to index checking right before the switch execution. * shader_language.cpp: Invalid index is handled in switch default case. `type < TYPE_FLOAT && type > TYPE_VEC4` -> `(type < TYPE_FLOAT || type > TYPE_VEC4`) Fixes the "always false problem" in TODO comment.
* | Particles 2D and 3D - fix hue variation not working by transposing the hue ↵brendor2018-03-201-2/+2
|/ | | | | | matrix The hue variation matrix is hardcoded as transposed and thus the multiplication always yielded the original color value. I wanted to keep the matrix and get the same result by switching the operands (getting a result as if the matrix was transposed).
* solved particle memory leak, fixes #15591Juan Linietsky2018-01-111-0/+17
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Set particles emitting to false when particles finish emitting with one-shot ↵MrCdK2017-12-231-4/+3
| | | | enabled
* particles spread/flatness fixes, pi factorizationmatrem2017-12-151-11/+23
|
* Style: Re-apply clang-format over recent invalid additionsRémi Verschelde2017-12-101-2/+2
|
* Implement orbit velocity in particles (this is for 2D only, like in 2.1), ↵Juan Linietsky2017-12-071-5/+27
| | | | | | closes #12764 Fixed tangential velocity (was broken)
* Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-071-2/+2
|
* -Fix particles with size==0, closes #13931Juan Linietsky2017-12-061-0/+6
| | | | -Fixed material previews (dont show sphere unless for spatial)
* Make particles with DISABLE_Z active respect ALIGN_Y. Fixes #12865Tom Beckmann2017-11-191-3/+9
|
* Rename Rect3 to AABB.Ferenc Arn2017-11-171-7/+7
| | | | Fixes #12973.
* Fix particles' tangential acceleration randomnessMrCdK2017-11-101-2/+2
|
* Fix randomisation of initial particle velocityMillionOstrich2017-11-061-2/+2
|
* Merge pull request #12052 from hi-ogawa/particle-material-conversion-pluginRémi Verschelde2017-10-201-166/+168
|\ | | | | Create ParticlesMaterialConversionPlugin
| * Create ParticlesMaterialConversionPlugin and format generated shader codeHiroshi Ogawa2017-10-121-166/+168
| |
* | Remove junk outputRuslan Mustakov2017-10-131-4/+0
|/ | | | | Remove several prints that were added for engine debugging, but are of no use to the end user, and only pollute the editor and game logs.
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* ClassDB: Provide the enum name of integer constantsIgnacio Etcheverry2017-08-201-24/+25
|
* Merge pull request #10309 from H4kor/particlesRémi Verschelde2017-08-161-7/+9
|\ | | | | Fixing blinking particles at 0 initial velocity.
| * Checking vecs before normalization. Fixes #10183Niko Abeler2017-08-161-7/+9
| |
* | Merge pull request #10170 from ISylvox/trail-divisor__editor-glitchJuan Linietsky2017-08-151-2/+1
|\ \ | | | | | | Trail Divisor: Fixed Editor Glitch
| * | trail divisor is now works properlyIndah Sylvia2017-08-081-2/+1
| | |
* | | Disabling Particles::one_shot restarts emissionZher Huei Lee2017-08-121-0/+2
| |/ |/| | | | | Fixes #10181
* | Removes type information from method bindsIgnacio Etcheverry2017-08-101-16/+16
|/
* Ability to pause particles, closes #3675Juan Linietsky2017-08-071-0/+12
|
* Reworked translation systemJuan Linietsky2017-06-281-1/+1
| | | | | -Label and Button reload translation on the fly -Resources are loaded and reload depending on locale
* Curve featuresMarc Gilleron2017-06-261-8/+3
| | | | | | - Ability to set tangents as linear - Indicative min and max values - CurveTexture doesn't need min and max anymore
* Usability improvements for folding. Unfortunately SpatialMaterial broke ↵Juan Linietsky2017-06-251-3/+4
| | | | compatibility.
* Ability to restart particle system with a function callJuan Linietsky2017-06-251-0/+22
|
* Added Curve resourceMarc Gilleron2017-06-241-18/+4
| | | | | | - New resource for curves in y(x) form - CurveTexture now has a Curve - Curve and CurveTexture share the same editor
* Small fixes required to get platformer to work.Juan Linietsky2017-06-231-1/+1
| | | | Added back CanvasItemMaterial
* Properly exposed material types everywhere.Juan Linietsky2017-06-221-1/+1
|
* 2D GPU Particles working..Juan Linietsky2017-06-211-57/+139
|
* Particles potential crash fix 2honix2017-05-161-0/+2
|
* Particle system is complete. Rejoice!Juan Linietsky2017-04-081-25/+94
|
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* New particle system, mostly working, some small features missing.Juan Linietsky2017-04-061-346/+1167
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-32/+32
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Remove use of _SCS from ADD_METHODHein-Pieter van Braam2017-02-131-29/+29
| | | | This saves typing and is a step towards fixing #56
* Style: Fix whole-line commented codeRémi Verschelde2017-01-141-2/+2
| | | | | They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-5/+5
| | | | renamed to PoolVector
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-32/+32
| | | | | | | | Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
* Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-021-5/+7
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)