summaryrefslogtreecommitdiff
path: root/scene/resources
AgeCommit message (Collapse)Author
2022-11-07Code simplificationsMarkus Sauermann
CanvasItemEditor: - p_result == ADD_MOVE is always true in this switch-clause - both parts of the if-else-clause do the same thing and simplified an affine_inverse call ControlEditorToolbar: - private function ControlEditorToolbar::_anchor_to_position is used nowhere. Looks like copy and paste from CanvasItemEditor::_anchor_to_position ScrollContainer: - screen_is_touchscreen is always true, because otherwise the function already returned TextLine: - both parts of the if-else-clause do the same thing and simplified return statement
2022-11-03Hide Antialiasing import option on DynamicFonts with MSDF enabledHugo Locurcio
Antialiasing cannot be adjusted on fonts rendered with MSDF. Internally, Godot always uses grayscale antialiasing for those fonts. This also tweaks property hints for consistency, and renames uses of "sub-pixel" to the more commonly used "subpixel".
2022-11-03Merge pull request #67540 from KoBeWi/hue_hue_hueRémi Verschelde
Add a separate hue gradient for OKHSL mode
2022-11-02Merge pull request #66017 from Mickeon/rename-image-copy-rectRémi Verschelde
Rename Image's `get_rect` to `get_region`
2022-11-02Change hue icons to horizontal GradientTexture2Dkobewi
2022-11-02Add a separate hue gradient for OKHSL modekobewi
2022-11-01Rename Image's `get_rect` to `get_region`Micky
Also renames its parameter to from "rect" to "region".
2022-11-01Move rotation sampling from Path2D to Curve2DYaohua Xiong
The rotation sampling code is moved from Path2D to a new method `sample_baked_with_rotation` on Curve2D.
2022-10-31Merge pull request #67895 from bruvzg/ts_fix_obj_rectsRémi Verschelde
Fix `TextLine` and `TextParagraph` `get_*_object_rect` methods not accounting for alignment and drop cap.
2022-10-31Merge pull request #67486 from bruvzg/bmp_oemRémi Verschelde
[Font] Add support for OEM encoded bitmap fonts.
2022-10-31Merge pull request #67578 from KoBeWi/GEDITORRémi Verschelde
Unify usage of GLOBAL/EDITOR_GET
2022-10-31Merge pull request #67588 from KoBeWi/if(!GDVIRTUAL_CALL)don'tRémi Verschelde
Simplify GDVIRTUAL_CALL calls
2022-10-31Merge pull request #63590 from golfinq/fbg-paddingRémi Verschelde
Add padding options in theme for fg/bgcolor tags in RichTextLabel
2022-10-31Merge pull request #67888 from KoBeWi/overrideadRémi Verschelde
Remove `override_selected_font_color` property
2022-10-28Change all WEBP strings and comments to WebPDeeJayLSP
2022-10-27Merge pull request #66383 from aaronfranke/basis-from-eulerClay John
Clean up Basis from Euler code
2022-10-26Remove override_selected_font_color propertykobewi
2022-10-26Fix `TextLine` and `TextParagraph` `get_*_object_rect` methods not ↵bruvzg
accounting for alignment and drop cap.
2022-10-25Merge pull request #67431 from Chaosus/vs_fix_nodes_codeYuri Rubinsky
2022-10-23Merge pull request #67390 from groud/more_conservative_terrain_paintingClay John
Make terrain painting not change neighbors centers bits
2022-10-21Clean up Basis from Euler codeAaron Franke
2022-10-21Merge pull request #67684 from patchfx/fix-typo-in-draw-rect-regionMax Hilbrunner
Fix tp_canvas_item typo in _draw_rect_region
2022-10-20Merge pull request #67506 from squashiv/masterClay John
Expose Shape2D::get_rect to scripting
2022-10-20Fix tp_canvas_item typo in _draw_rect_regionRichard Patching
2022-10-20Make terrain painting not change neighbors centers bitsGilles Roudière
2022-10-20Expose Shape2D::get_rect to scriptingsquash
2022-10-19Fix code generation for some visual shader nodesYuri Rubinsky
2022-10-19Simplify GDVIRTUAL_CALL callskobewi
2022-10-18Unify usage of GLOBAL/EDITOR_GETkobewi
2022-10-18Fix typo in VisualShader DistanceFade nodePatrick
2022-10-16[Font] Add support for OEM encoded bitmap fonts.bruvzg
2022-10-14Make some Image methods statickobewi
2022-10-14Merge pull request #66665 from Mickeon/editor-do-not-edit-inherited-signalsRémi Verschelde
Do not allow editing Scene-inherited signal connections
2022-10-13Do not allow editing Scene-inherited signal connectionsMicky
Inherited connections are also highlighted with the warning color in the Node dock.
2022-10-13Optimize Convex CollisionJuan Linietsky
Implements the Gauss Mapping optimization to SAT convex collision test. * Described [here](https://ubm-twvideo01.s3.amazonaws.com/o1/vault/gdc2013/slides/822403Gregorius_Dirk_TheSeparatingAxisTest.pdf) by Dirk Gregorius. * Requires adding of face information to edges in MeshData * Took the chance to convert MeshData to LocalVector for performance.
2022-10-13Merge pull request #67336 from jbcolli2/Normal-of-CylinderMeshRémi Verschelde
Fix bug in CylinderMesh when computing normals
2022-10-13Changed normal of CylinderMesh to account for slanted side.jbcolli2
2022-10-13Merge pull request #66349 from A-Lamia/Amount_At_CollisionRémi Verschelde
PARTICLES: adds amount property to collision sub particles.
2022-10-13particles: add amount property to sub property collision.Lamia
2022-10-12Merge pull request #65714 from benbot/fix-double-particle-collision-calculationRémi Verschelde
2022-10-11Merge pull request #63271 from Chaosus/fix_texture_errorRémi Verschelde
Fix error emitting when opening some textures in the inspector
2022-10-11Merge pull request #66221 from Mickeon/painstakingly-appending-ds-en-you-tea-esRémi Verschelde
Rename remaining "*_enable" to "*_enabled"
2022-10-10SCons: Re-enable treating `#warning` as error with `werror`Rémi Verschelde
Replace all TODO uses of `#warning` by proper TODO comments, and will open matching bug reports to keep track of them. We don't have a great track record fixing TODOs, but I'd wager we're even worse for fixing these "TODO #warning" so we should prohibit this usage.
2022-10-10Defer clearing of ResourceUID cache and silence warningskobewi
2022-10-08Remove leading spaces from enumerator name hintsHaoyu Qiu
For `PROPERTY_HINT_ENUM` properties, enumerator names can be provided as a comma separated list. There're a few properties that add leading spaces to the names (e.g. `First, Second, Third`). These spaces are included in the Inspector dropdown, which is unexpected. It's better to leave the surrounding spaces untouched because it could be part of the resulting string value (the variable is a string enum). And most other enum hints don't contain surrounding whitespaces. This PR removes the spaces and documents this `PROPERTY_HINT_ENUM` behavior.
2022-10-07Fix MSVC warnings, rename shadowed variables, fix uninitialized values, ↵bruvzg
change warnings=all to use /W4.
2022-10-07Merge pull request #62910 from Vitika9/gsoc-colorpicker-uxRémi Verschelde
ColorPicker UX
2022-10-06Handle last baked vector index earlyNikola Bunjevac
2022-10-05Merge pull request #66560 from MisterMX/fix/tileset-move-custom-data-layerRémi Verschelde
fix(tileset): Move custom data layer
2022-10-05Merge pull request #66720 from qarmin/unintialized_memoryRémi Verschelde
Remove usage of unitialized variables