summaryrefslogtreecommitdiff
path: root/servers
AgeCommit message (Collapse)Author
2018-05-01Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-varRémi Verschelde
Fix Coverity reports of uninitialized scalar variable
2018-05-01Merge pull request #18321 from Crazy-P/Fixes-logically-dead-codeRémi Verschelde
Fixes logically dead code (Coverity)
2018-04-22Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio
2018-04-21Fixes logically dead code (Coverity)Crazy-P
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.
2018-04-19Fix Coverity reports of uninitialized scalar variableRémi Verschelde
Fixes most current reports on Coverity Scan of uninitialized scalar variable (CWE-457): https://cwe.mitre.org/data/definitions/457.html These happen most of the time (in our code) when instanciating structs without a constructor (or with an incomplete one), and later returning the instance. This is sometimes intended though, as some parameters are only used in some situations and should not be double-initialized for performance reasons (e.g. `constant` in ShaderLanguage::Token).
2018-04-18Merge pull request #17391 from PJB3005/18-03-09-fix-canvas-light-shadersRémi Verschelde
Fixes canvas light shaders.
2018-04-17Fix typos in shader_language.cppPoommetee Ketson
2018-04-13Fixes canvas light shaders.Pieter-Jan Briers
Fixes #16904 Restore more out functionality, fix built-ins. Requested changes, I think?
2018-04-11Update classref and docs, fix missing parameters' namePoommetee Ketson
2018-04-08Merge pull request #17151 from ShyRed/disabled_shapes_2dJuan Linietsky
Remove disabled shapes from physics 2D calculations
2018-04-08Merge pull request #17421 from Chaosus/fixshaderbugsJuan Linietsky
Fix few bugs in shader definitions
2018-04-08Merge pull request #17594 from ivodopiviz/float-overflowJuan Linietsky
Changed debug max distance to avoid overflow
2018-04-07Merge pull request #17742 from marcelofg55/audio_device_listJuan Linietsky
Added new audio device functions to set/get the audio device
2018-03-28Removed redundant abs shader builtinChaosus
2018-03-26Added new audio device functions to set/get the audio deviceMarcelo Fernandez
2018-03-23Merge pull request #17680 from beniwtv/masterRémi Verschelde
Fix compressor audio effect sidechain selection
2018-03-23Merge pull request #17532 from BastiaanOlij/arvr_enhancementsRémi Verschelde
A few enhancements on the ARVR Server
2018-03-21Fix missing const in CapsuleShapeSW::get_areaMarcelo Fernandez
2018-03-21Fix compressor audio effect sidechain selectionBenedikt Bär
2018-03-20Merge pull request #17637 from robfram/fix-draw_polyline_colors-crashRémi Verschelde
Fix crash in `canvas_item_add_polyline` when passing more points than colors
2018-03-19Fix crash in `canvas_item_add_polyline` when passing more points than colorsrobfram
When `p_points.size() > p_colors.size()`, it crashed with invalid array access to `p_colors`. Also, when `p_colors` was an empty `Vector` it crashed due a missing `else` checking the `size` condition, as the code handling that special case exists. This PR fixes the missing `else` for `p_colors.size == 0` and, following the `canvas_item_add_multiline` spirit, it only uses the first color for the whole polyline if points and colors differ in size. Fix #17621.
2018-03-19Fix possible crash when audio channels changeMarcelo Fernandez
2018-03-17Changed debug max distance to avoid overflowIvan Vodopiviz
Changed it to roughly sqrt(FLT_MAX), it's a little less to account for float inaccuracies. Fixes #1835
2018-03-16Merge pull request #16964 from mrcdk/audio_server_bus_changed_fixHein-Pieter van Braam
AudioServer emit bus_layout_changed signal when adding, moving or del…
2018-03-15Merge pull request #17248 from Cygon/implement-extra-culling-marginHein-Pieter van Braam
Apply culling margin (fixes issue #16115)
2018-03-15Hinted shader uniforms can have a default valueJFonS
2018-03-15A few fixes on the ARVR ServerBastiaan Olij
2018-03-13Merge pull request #17040 from AndreaCatania/patch-2Rémi Verschelde
Deprecated Godot 3D physics engine
2018-03-13Merge pull request #17402 from Chaosus/fixmixRémi Verschelde
Fix invalid mix function overload
2018-03-13Fixed several leaks in VisualServerScene, RasterizerSceneGLES3 and ↵Wilson E. Alvarez
RasterizerGLES3
2018-03-10Fix few bugs in shader definitionsChaosus
2018-03-10Fix invalid mix function overloadChaosus
2018-03-09Merge pull request #17354 from SaracenOne/shader_token_name_fixRémi Verschelde
Make the shader token names consistent.
2018-03-07Make the shader token names consistent.Saracen
2018-03-07Bring back Vector2.cross()Bernhard Liebl
2018-03-07Remove disabled shapes from physicsShyRed
Disabling a shape removes it from physics calculations. Enabling a shape adds it back to the physics calculations.
2018-03-04Implement VisualServerScene::instance_set_extra_visibility_margin() method ↵Markus Ewald
to actually apply extra culling margin and mark instance AABB dirty
2018-03-03Fix floatBitsToUint functionChaosus
2018-02-27Fixed physics server typoAndrea Catania
2018-02-26 Deprecated Godot 3D physics engineAndrea Catania
2018-02-25[DOCS] Sync classref with current sourcePoommetee Ketson
2018-02-23AudioServer emit bus_layout_changed signal when adding, moving or deleting a busMrCdK
2018-02-212D Skeletons WORK IN PROGRESSJuan Linietsky
2018-02-21Fix typos with codespellluz.paz
Found via `codespell -q 3 --skip="./thirdparty,./editor/translations" -I ../godot-word-whitelist.txt` Whitelist consists of: ``` ang doubleclick lod nd que te unselect ```
2018-02-21Add base support for 2D meshes in Godot, including Sprite -> Mesh2D conversion.Juan Linietsky
2018-02-20Merge pull request #16757 from AndreaCatania/kinpushRémi Verschelde
Improved kinematic body, Now can move rigid body
2018-02-20Improved kinematic body 2D and 3D, Now can move rigid bodyAndrea Catania
2018-02-20Revert "Handle single-argument constructors in uniform default values"Juan Linietsky
2018-02-20Merge pull request #15985 from Nallebeorn/uniforms-single-argument-constructorsRémi Verschelde
Handle single-argument constructors in uniform default values
2018-02-19Merge pull request #16530 from AndreaCatania/raysRémi Verschelde
Improved ray shape (2D and 3D) by addiing the possibility to act as r…