summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2020-01-16Validate input in (CPU)Particles set_emission_shape()Rémi Verschelde
Fixes #29777. Co-authored-by: Cameron Reikes <cameronreikes@gmail.com>
2020-01-15Fix typos with codespellRémi Verschelde
Using codespell 1.16.0. See ab3bccdb78cc7dffb6ab796053ef63489f05558d for procedure.
2020-01-08Merge pull request #33817 from Chaosus/vs_fresnelYuri Roubinsky
Make Fresnel node in visual shaders to use default NORMAL/VIEW
2020-01-07Make possible to edit the GraphEdit's selection rect colorsMichael Alexsander
2020-01-07Fixes crash when using Mesh::create_outline and Mesh::create_convex_shapeHaoyu Qiu
Adds a size check to the array returned by `surface_get_arrays`. During debugging, `create_outline` also crashes when the indices size is one (not a multiple of three). For now, just reports the error and fail the function.
2020-01-07Fixes import of models as PackedSceneHaoyu Qiu
2020-01-06Merge pull request #34865 from volzhs/oversampling-emojiRémi Verschelde
Update size and position for colored font with oversampling
2020-01-07Update size and position for colored font with oversamplingvolzhs
2020-01-06Merge pull request #33987 from nekomatata/own-world-environmentRémi Verschelde
Viewport environment is updated properly when set to own world
2020-01-06Merge pull request #34303 from Chaosus/fix_texture_crashRémi Verschelde
Fixed crash if passing invalid image ref to TextureLayered
2020-01-06Merge pull request #34020 from gytsen/unify-pack-versionRémi Verschelde
PCK: Set VERSION_PATCH in header, factor out header magic
2020-01-06Merge pull request #34829 from timothyqiu/checks-bundleRémi Verschelde
Fixes crash for bad property of PackedScene
2020-01-06PCK: Set VERSION_PATCH in header, factor out header magicJoost Heitbrink
Unify pack file version and magic to avoid hardcoded literals. `version.py` now always includes `patch` even for the first release in a new stable branch (e.g. 3.2). The public name stays without the patch number, but `Engine.get_version_info()` already included `patch == 0`, and we can remove some extra handling of undefined `VERSION_PATCH` this way. Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
2020-01-05Fixed StyleBoxFlat antialiasing with aa size of 1PouleyKetchoupp
Also made aa size consistent when computing uv coordinates and fixed a warning about aa_border_width not initialized in some cases. fixes #34830
2020-01-05Fixes crash for bad property of PackedSceneHaoyu Qiu
2020-01-02Don't connect ShaderMaterial's `changed` signal when not in the editorHugo Locurcio
This closes #34741.
2020-01-01Update copyright statements to 2020Rémi Verschelde
Happy new year to the wonderful Godot community! We're starting a new decade with a well-established, non-profit, free and open source game engine, and tons of further improvements in the pipeline from hundreds of contributors. Godot will keep getting better, and we're looking forward to all the games that the community will keep developing and releasing with it.
2019-12-28Revert "Merge pull request #34315 from ↵Michael Alexsander
YeldhamDev/editor_theme_optionbutton_arrow" This reverts commit 0da0eec6cc42066626f867079700c10737092217, reversing changes made to ec97535ea34456607c0c53607d41e34f272890ec.
2019-12-22Merge pull request #34488 from nekomatata/style_box_flat_aaRémi Verschelde
Fixed StyleBoxFlat border size with aa on
2019-12-20Fixed StyleBoxFlat border size with aa onPouleyKetchoupp
The different Rect used to draw rings were wrongly calculated when anti-aliasing was enabled. Also getting rid of some overlapping glitches when using transparent colors for the filling or borders. Fixes #34104
2019-12-20Encodes property names properly in project.godotHaoyu Qiu
2019-12-15Merge pull request #34356 from Calinou/styleboxflat-lower-max-corner-detailRémi Verschelde
Lower the maximum StyleBoxFlat corner detail to 20
2019-12-14Lower the maximum StyleBoxFlat corner detail to 20Hugo Locurcio
This value should be sufficient even for very large corner radii. This closes #34354.
2019-12-13Remove unused theme elements in H/VSliderMichael Alexsander
2019-12-13Merge pull request #34189 from aaronfranke/mesh-aabbRémi Verschelde
Expose Mesh get_aabb
2019-12-12Fixed crash if passing invalid image ref to TextureLayeredYuri Roubinsky
2019-12-12Added missed enum constant VisualShaderNodeTexture::SOURCE_PORTYuri Roubinsky
2019-12-11Expose Mesh get_aabbAaron Franke
2019-12-11Merge pull request #34259 from timothyqiu/validate-texture-32982Rémi Verschelde
Fixes crash after set_piece_texture with invalid texture
2019-12-11Merge pull request #34241 from timothyqiu/sync-fallbacks-size-32701Rémi Verschelde
Fixes crash when using DynamicFont::set_font_data
2019-12-11Merge pull request #34240 from timothyqiu/invalid-shader-io-29985Rémi Verschelde
Fixes crash when shader inputs/outputs is invalid string
2019-12-11Validates texture in set_piece_textureHaoyu Qiu
2019-12-10Fixes crash when using DynamicFont::set_font_dataHaoyu Qiu
2019-12-10Fixes crash when shader inputs/outputs is invalid stringHaoyu Qiu
2019-12-10Fixes crash when using Theme::clearHaoyu Qiu
2019-12-10Merge pull request #34040 from qarmin/unused_variable_more_precise_numbersRémi Verschelde
Removed unused variables, add some constants numbers
2019-12-10Removed unused variables, add some constants numbersRafał Mikrut
2019-12-05Don't store index of root nodesTomasz Chabora
2019-11-29Viewport environment is updated properly when set to own worldPouleyKetchoupp
When own_world property is set, the viewport stores a unique resource for the world. With this change it keeps being updated from changes made to the world property instead of storing a default empty world with environment settings that can't be modified. Fixes #23412
2019-11-26Only display Environment sky rotation in degrees in the InspectorHugo Locurcio
This makes it consistent with Spatial.
2019-11-25Fix bug where specularmode disabled is not cachedclayjohn
2019-11-24StyleBox preview adjusted to fit all drawn contentPouleyKetchoupp
This change allows StyleBox preview to take shadows and content margins into account to display how a whole panel would be rendered. The preview control clips contents so that in any case it doesn't bleed on controls around. Fixes #33801
2019-11-22Makes Fresnel node in visual shaders to use default NORMAL/VIEWYuri Roubinsky
2019-11-20Fix some overflows and unitialized variablesRafał Mikrut
2019-11-17Merge pull request #33683 from clayjohn/material-texture-bugRémi Verschelde
Properly update texture when roughness/metallic set
2019-11-17Properly update texture when roughness/metallic setclayjohn
2019-11-17StyleBoxFlat doesn't draw content when width or height is zeroPouleyKetchoupp
Causes unnecessary computations and drawing, and a division by zero when calculating uv coordinates. This case happened with ScriptEditor's member overview (ItemList), initialized with a minimum width of 0. Fixes #33634
2019-11-10Merge pull request #33516 from qarmin/small_fixesRémi Verschelde
Memory leaks and crash fixes
2019-11-10Merge pull request #33452 from Chaosus/fix_tilemapRémi Verschelde
Fix incorrect offset for old-format tilemaps
2019-11-10Memory leak and crash fixesRafał Mikrut