summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2018-10-25Repaired mistyped of 'its' on several files.M. Huri
2018-10-25Merge pull request #23083 from Windfisch/pathfollow_configwarnRémi Verschelde
Add a configuration warning to [Oriented]PathFollow
2018-10-24Add a configuration warning to [Oriented]PathFollowFlorian Jung
Will update OrientedPathFollows' configuration_warnings if the parent Path changes
2018-10-24Merge pull request #22920 from DualMatrix/error_already_connectRémi Verschelde
Fixed error when duplicating a scene which has connection
2018-10-24Merge pull request #23256 from JFonS/fix_17989Rémi Verschelde
Fix editor only lights
2018-10-24Fix editor only lightsJFonS
2018-10-23Get surface material count in MeshInstance for scriptsPouleyKetchoupp
2018-10-23Fixed a typo, treshhold to threshold.M. Huri
2018-10-21Merge pull request #23196 from Paulb23/scene_tab_errors_issue_22890Rémi Verschelde
Scene tabs closing and thumbnail errors, issue 22890
2018-10-21Update Tab hover status when adding or removing tabs, issue 22890Paulb23
2018-10-20Initialise LineEdit clear_button_status.Ibrahn Sahir
Avoiding undefined behaviour and cleaning up Valgrind output.
2018-10-19Merge pull request #23138 from CakHuri/fix-disconectRémi Verschelde
Repaired mistyped of 'just_disconnected'.
2018-10-19Repaired mistyped of 'just_disconnected'.M. Huri
2018-10-19Fixing warnings generated by MSVCDualtagh Murray
Fixes #22684.
2018-10-16Remove unnecessary "rings" variable from "draw_rings()" in StyleBoxMichael Alexsander Silva Dias
2018-10-16Merge pull request #22894 from OsamaElHariri/prevent-comment-indentRémi Verschelde
A colon ending a comment line no longer indents the next line
2018-10-16Merge pull request #22922 from mrcdk/fix_area_bus_overrideRémi Verschelde
Fixes Area and Area2D audio bus override
2018-10-13[Docs] Fixed 'get_button_count's link and a typo related to 'button'.M. Huri
2018-10-11Merge pull request #22844 from samgreen/fix_gui_dragging_spamRémi Verschelde
Fix spam when dragging in the editor
2018-10-11Fixes Area and Area2D audio bus overrideMrCdK
2018-10-11Fixed error when duplicating a scene which has connectionDualMatrix
Fixed error when duplicating a scene which has connection
2018-10-10A colon ending a comment line no longer indents the next lineOsamaElHariri
2018-10-08Swap condition to prevent spam in editor.Sam Green
2018-10-08Ensure CPU particles do not process if not visibleJuan Linietsky
2018-10-08Fixes to CPU particles for performance and avoiding NaNs.Juan Linietsky
2018-10-07Fix crash in Tree when moving using JoypadFabio Alessandrelli
2018-10-07Merge pull request #22822 from godotengine/revert-16977-masterRémi Verschelde
Revert "Created a new function named get_element in GridContainer. This funct…"
2018-10-07Merge pull request #22712 from groud/fix_animation_finished_signalRémi Verschelde
Fixes AnimatedSprite2D animation_finished signal triggering too early
2018-10-07Merge pull request #22722 from akien-mga/fix-warningsRémi Verschelde
Fix more "may be used initialized" warnings from GCC 7
2018-10-07Merge pull request #22759 from AndreaCatania/pyfixRémi Verschelde
Some physics fixes for 3.1
2018-10-07Revert "Created a new function named get_element in GridContainer. This ↵Rémi Verschelde
funct…"
2018-10-06Remove redundant "== false" codeAaron Franke
Some of this code has been re-organized. f
2018-10-06Remove redundant "== true" codeAaron Franke
If it can be compared to a boolean, it can be evaluated as one in-place.
2018-10-06Merge pull request #22742 from YeldhamDev/textedit_margin_scrollRémi Verschelde
Fix TextEdit margin start spacing with two scrollbars
2018-10-06Merge pull request #22774 from kellams/masterRémi Verschelde
Fix to scrolling, rounding error on max_v_scroll
2018-10-05Fixes to baker, restored xatlas and fixed bake options.Juan Linietsky
2018-10-05Fix to scrolling, rounding error on max_v_scrollKellam Spencer
2018-10-05Improved trimesh stabilityAndrea Catania
2018-10-05Fix to ColorPicker behaviour when entering html.R. K
2018-10-04Fix TextEdit margin start spacing with two scrollbarsMichael Alexsander Silva Dias
2018-10-04Fix more "may be used initialized" warnings from GCC 7Rémi Verschelde
Fixes the following GCC 7 warnings: ``` core/cowdata.h:269:47: warning: 'alloc_size' may be used uninitialized in this function [-Wmaybe-uninitialized] core/error_macros.h:163:26: warning: 'nearest_point' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:1579:5: warning: 'colormap_size' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:1582:12: warning: 'size_height' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:1590:23: warning: 'size_width' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:1599:29: warning: 'pixel_size' may be used uninitialized in this function [-Wmaybe-uninitialized] core/math/face3.cpp:207:15: warning: 'tri_max' may be used uninitialized in this function [-Wmaybe-uninitialized] core/math/face3.cpp:209:15: warning: 'tri_min' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/rasterizer_scene_gles3.cpp:665:22: warning: 'best_used_frame' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/rasterizer_storage_gles3.cpp:865:27: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/rasterizer_storage_gles3.cpp:980:29: warning: 'blit_target' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::frag_id' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::id' may be used uninitialized in this function [-Wmaybe-uninitialized] drivers/gles3/shader_gles3.h:122:9: warning: '<anonymous>.ShaderGLES3::Version::vert_id' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/plugins/script_editor_plugin.cpp:1980:31: warning: 'se' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/scene_tree_dock.cpp:840:30: warning: 'new_node' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4259:9: warning: 'a1' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lll' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4259:9: warning: 'lul' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4260:9: warning: 'a2' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4261:9: warning: 'a3' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4265:3: warning: 'enable_lin' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4294:3: warning: 'enable_ang' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4311:34: warning: 'll' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/spatial_editor_gizmos.cpp:4311:34: warning: 'ul' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1655:47: warning: 'cone_dirs' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1656:73: warning: 'cone_weights' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/gui/texture_progress.cpp:181:6: warning: 'cp' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/gui/texture_progress.cpp:181:6: warning: 'cq' may be used uninitialized in this function [-Wmaybe-uninitialized] servers/physics/shape_sw.cpp:1056:19: warning: 'support_max' may be used uninitialized in this function [-Wmaybe-uninitialized] ```
2018-10-04Fix GCC 8 warnings about potentially unitialized variablesRémi Verschelde
Fixes the following GCC 8 warnings: ``` core/image.cpp:730:44: warning: 'mip1_weight' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:293:20: warning: 'mip2' may be used uninitialized in this function [-Wmaybe-uninitialized] core/image.cpp:293:20: warning: 'mip1' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/audio_stream_preview.cpp:58:19: warning: 'vmax' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/audio_stream_preview.cpp:85:19: warning: 'vmin' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/editor_themes.cpp:306:53: warning: 'preset_contrast' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/plugins/animation_blend_space_2d_editor.cpp:459:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized] editor/plugins/animation_blend_space_2d_editor.cpp:443:27: warning: 'prev_idx' may be used uninitialized in this function [-Wmaybe-uninitialized] main/tests/test_oa_hash_map.cpp:57:29: warning: 'value' may be used uninitialized in this function [-Wmaybe-uninitialized] modules/csg/csg.cpp:764:40: warning: 'max_angle' may be used uninitialized in this function [-Wmaybe-uninitialized] modules/csg/csg_shape.cpp:1945:3: warning: 'face_count' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1593:8: warning: 'cone_aperture' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/3d/voxel_light_baker.cpp:1592:6: warning: 'cone_dir_count' may be used uninitialized in this function [-Wmaybe-uninitialized] scene/animation/animation_blend_space_2d.cpp:471:8: warning: 'mind' may be used uninitialized in this function [-Wmaybe-uninitialized] core/os/memory.cpp:94: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] core/os/memory.cpp:95: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] core/os/memory.cpp:98: warning: ignoring #pragma clang diagnostic [-Wunknown-pragmas] ```
2018-10-04Fixes AnimatedSprite2D animation_finished signal triggering too earlygroud
2018-10-04fix enum cast warnings on clangkarroffel
2018-10-03Merge pull request #22643 from akerudesu/dynamic_font_fallbackRémi Verschelde
Fix oversampling of DynamicFont fallback fonts
2018-10-03Fix lightmap baking crash, may close some issues but I am not sure.Juan Linietsky
2018-10-03Merge pull request #22681 from akien-mga/fix-warningsRémi Verschelde
Fix warnings on release builds and some MSVC warnings
2018-10-03Merge pull request #22675 from DualMatrix/duplicate_errRémi Verschelde
Fixed error when duplicating node with signal from editor.
2018-10-03Fix some warnings raised by MSVC 2017Rémi Verschelde
Disabled signed/unsigned warnings like for GCC/Clang (warning C4018: '>=': signed/unsigned mismatch). Fixes the following MSVC 2017 warnings: ``` core\image.cpp(999): warning C4804: '>': unsafe use of type 'bool' in operation core\io\compression.cpp(178): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) editor\doc\doc_dump.cpp(226): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) scene/resources/material.h(289): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) scene/resources/material.h(298): warning C4334: '<<': result of 32-bit shift implicitly converted to 64 bits (was 64-bit shift intended?) editor\editor_themes.cpp(379): warning C4805: '==': unsafe mix of type 'int' and type 'bool' in operation ```
2018-10-03Fix warnings on release builds (not DEBUG_ENABLED)Rémi Verschelde
Fixes the following Clang 5 warnings: ``` modules/bmp/image_loader_bmp.cpp:46:60: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] modules/bmp/image_loader_bmp.cpp:48:61: warning: comparison of unsigned expression < 0 is always false [-Wtautological-compare] drivers/png/image_loader_png.cpp:231:20: warning: comparison of unsigned expression >= 0 is always true [-Wtautological-compare] scene/gui/graph_edit.cpp:1045:8: warning: comparison of constant 0 with expression of type 'bool' is always false [-Wtautological-constant-out-of-range-compare] core/class_db.cpp:812:13: warning: unused variable 'check' [-Wunused-variable] core/io/file_access_pack.cpp:172:11: warning: unused variable 'ver_rev' [-Wunused-variable] core/math/bsp_tree.cpp:195:13: warning: unused variable 'plane' [-Wunused-variable] core/math/bsp_tree.cpp:168:6: warning: unused variable 'plane_count' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:685:10: warning: unused variable 'ok' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:706:10: warning: unused variable 'ok' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:755:19: warning: unused variable 'var_type' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:1306:12: warning: unused variable 'err' [-Wunused-variable] modules/gdscript/gdscript_function.cpp:158:15: warning: unused function '_get_var_type' [-Wunused-function] modules/gdscript/gdscript_parser.cpp:750:20: warning: unused variable 'lv' [-Wunused-variable] modules/gdscript/gdscript_parser.cpp:59:15: warning: unused function '_find_function_name' [-Wunused-function] scene/main/node.cpp:2489:13: warning: unused function '_Node_debug_sn' [-Wunused-function] ```