aboutsummaryrefslogtreecommitdiff
path: root/servers
Commit message (Collapse)AuthorAgeFilesLines
* Merge pull request #18144 from ↵Juan Linietsky2018-05-072-0/+5
|\ | | | | | | | | Crazy-P/Resolves-crash-on-shape2D-culling-for-empty-Concave-shapes Resolves crash on shape2D culling for empty Concave shapes
| * Resolves crash on shape2D culling for empty Concave shapesCrazy-P2018-04-122-0/+5
| | | | | | | | Fixes https://github.com/godotengine/godot/issues/17789
* | Merge pull request #18533 from JFonS/fix_shader_compileJuan Linietsky2018-05-072-3/+44
|\ \ | | | | | | Fix vector reduction in shader language
| * | Fix vector reduction in shader languageJFonS2018-05-072-3/+44
| | |
* | | Merge pull request #18495 from Zylann/partial_texture_updateJuan Linietsky2018-05-075-0/+5
|\ \ \ | | | | | | | | Added partial texture update to VisualServer
| * | | Added partial texture update to VisualServerMarc Gilleron2018-04-295-0/+5
| |/ /
* | | Merge pull request #18677 from BastiaanOlij/add_no_blendJuan Linietsky2018-05-071-0/+1
|\ \ \ | | | | | | | | Add no-blend canvas item render_mode
| * | | Add no-blend canvas item render_modeBastiaan Olij2018-05-071-0/+1
| | | |
* | | | Added option to viewport to keep linear colorBastiaan Olij2018-05-066-9/+34
|/ / /
* | | Skeleton for 2D WIPJuan Linietsky2018-05-036-7/+17
| | |
* | | Merge pull request #18291 from akien-mga/coverity-uninitialized-scalar-varRémi Verschelde2018-05-013-0/+3
|\ \ \ | | | | | | | | Fix Coverity reports of uninitialized scalar variable
| * | | Fix Coverity reports of uninitialized scalar variableRémi Verschelde2018-04-193-0/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | Merge pull request #18321 from Crazy-P/Fixes-logically-dead-codeRémi Verschelde2018-05-012-12/+7
|\ \ \ \ | |_|/ / |/| | | Fixes logically dead code (Coverity)
| * | | Fixes logically dead code (Coverity)Crazy-P2018-04-212-12/+7
| |/ / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* / / Change ".." punctuation for "..." in editor strings (#16507)Hugo Locurcio2018-04-221-5/+5
|/ /
* | Merge pull request #17391 from PJB3005/18-03-09-fix-canvas-light-shadersRémi Verschelde2018-04-181-1/+1
|\ \ | | | | | | Fixes canvas light shaders.
| * | Fixes canvas light shaders.Pieter-Jan Briers2018-04-131-1/+1
| |/ | | | | | | | | | | | | | | Fixes #16904 Restore more out functionality, fix built-ins. Requested changes, I think?
* / Fix typos in shader_language.cppPoommetee Ketson2018-04-171-3/+3
|/
* Update classref and docs, fix missing parameters' namePoommetee Ketson2018-04-111-0/+2
|
* Merge pull request #17151 from ShyRed/disabled_shapes_2dJuan Linietsky2018-04-082-4/+29
|\ | | | | Remove disabled shapes from physics 2D calculations
| * Remove disabled shapes from physicsShyRed2018-03-072-4/+29
| | | | | | | | Disabling a shape removes it from physics calculations. Enabling a shape adds it back to the physics calculations.
* | Merge pull request #17421 from Chaosus/fixshaderbugsJuan Linietsky2018-04-081-3/+1
|\ \ | | | | | | Fix few bugs in shader definitions
| * | Fix few bugs in shader definitionsChaosus2018-03-101-3/+1
| | |
* | | Merge pull request #17594 from ivodopiviz/float-overflowJuan Linietsky2018-04-081-1/+2
|\ \ \ | | | | | | | | Changed debug max distance to avoid overflow
| * | | Changed debug max distance to avoid overflowIvan Vodopiviz2018-03-171-1/+2
| | | | | | | | | | | | | | | | | | | | Changed it to roughly sqrt(FLT_MAX), it's a little less to account for float inaccuracies. Fixes #1835
* | | | Merge pull request #17742 from marcelofg55/audio_device_listJuan Linietsky2018-04-072-0/+37
|\ \ \ \ | | | | | | | | | | Added new audio device functions to set/get the audio device
| * | | | Added new audio device functions to set/get the audio deviceMarcelo Fernandez2018-03-262-0/+37
| | | | |
* | | | | Removed redundant abs shader builtinChaosus2018-03-281-5/+0
|/ / / /
* | | | Merge pull request #17680 from beniwtv/masterRémi Verschelde2018-03-231-1/+1
|\ \ \ \ | | | | | | | | | | Fix compressor audio effect sidechain selection
| * | | | Fix compressor audio effect sidechain selectionBenedikt Bär2018-03-211-1/+1
| | | | |
* | | | | Merge pull request #17532 from BastiaanOlij/arvr_enhancementsRémi Verschelde2018-03-233-4/+73
|\ \ \ \ \ | | | | | | | | | | | | A few enhancements on the ARVR Server
| * | | | | A few fixes on the ARVR ServerBastiaan Olij2018-03-153-4/+73
| | | | | |
* | | | | | Fix missing const in CapsuleShapeSW::get_areaMarcelo Fernandez2018-03-211-1/+1
| |/ / / / |/| | | |
* | | | | Merge pull request #17637 from robfram/fix-draw_polyline_colors-crashRémi Verschelde2018-03-201-4/+8
|\ \ \ \ \ | | | | | | | | | | | | Fix crash in `canvas_item_add_polyline` when passing more points than colors
| * | | | | Fix crash in `canvas_item_add_polyline` when passing more points than colorsrobfram2018-03-191-4/+8
| | |/ / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* / | | | Fix possible crash when audio channels changeMarcelo Fernandez2018-03-192-11/+33
|/ / / /
* | | | Merge pull request #16964 from mrcdk/audio_server_bus_changed_fixHein-Pieter van Braam2018-03-161-0/+6
|\ \ \ \ | | | | | | | | | | AudioServer emit bus_layout_changed signal when adding, moving or del…
| * | | | AudioServer emit bus_layout_changed signal when adding, moving or deleting a busMrCdK2018-02-231-0/+6
| | | | |
* | | | | Merge pull request #17248 from Cygon/implement-extra-culling-marginHein-Pieter van Braam2018-03-151-0/+5
|\ \ \ \ \ | | | | | | | | | | | | Apply culling margin (fixes issue #16115)
| * | | | | Implement VisualServerScene::instance_set_extra_visibility_margin() method ↵Markus Ewald2018-03-041-0/+5
| | | | | | | | | | | | | | | | | | | | | | | | to actually apply extra culling margin and mark instance AABB dirty
* | | | | | Hinted shader uniforms can have a default valueJFonS2018-03-151-20/+21
| |_|/ / / |/| | | |
* | | | | Merge pull request #17040 from AndreaCatania/patch-2Rémi Verschelde2018-03-131-2/+3
|\ \ \ \ \ | | | | | | | | | | | | Deprecated Godot 3D physics engine
| * | | | | Deprecated Godot 3D physics engineAndrea Catania2018-02-261-2/+3
| | | | | |
* | | | | | Merge pull request #17402 from Chaosus/fixmixRémi Verschelde2018-03-131-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fix invalid mix function overload
| * | | | | | Fix invalid mix function overloadChaosus2018-03-101-1/+1
| | |_|_|/ / | |/| | | |
* / | | | | Fixed several leaks in VisualServerScene, RasterizerSceneGLES3 and ↵Wilson E. Alvarez2018-03-132-0/+2
|/ / / / / | | | | | | | | | | | | | | | RasterizerGLES3
* | | | | Merge pull request #17354 from SaracenOne/shader_token_name_fixRémi Verschelde2018-03-091-0/+3
|\ \ \ \ \ | | | | | | | | | | | | Make the shader token names consistent.
| * | | | | Make the shader token names consistent.Saracen2018-03-071-0/+3
| | |/ / / | |/| | |
* / | | | Bring back Vector2.cross()Bernhard Liebl2018-03-071-2/+7
|/ / / /
* | | / Fix floatBitsToUint functionChaosus2018-03-031-4/+4
| |_|/ |/| |