summaryrefslogtreecommitdiff
path: root/scene
AgeCommit message (Collapse)Author
2018-04-03Merge pull request #17902 from Noshyaar/outlineRémi Verschelde
Mesh: fix crash when creating mesh outline from QuadMesh
2018-04-01Mesh: fix crash when creating mesh outline from QuadMeshPoommetee Ketson
Since create_outline can only make outline for PRIMITIVE_TRIANGLES, when QuadMesh (which is PRIMITIVE_TRIANGLE_FAN) is used to create outline, will leave `arrays` empty, and crash when it is being indexed for "indices" subarray. This PR shows error when there's only one surface and it is not TRIANGLES. Also prevent the crash if it has more than one surface and none of them are TRIANGLES (and any other cases that could leave `arrays` empty) by checking the size of `arrays` == 8 before indexing it, since the method seems to expect `arrays` to be of that size.
2018-03-30Implement missing navgiation polygon debugging in tilemapBenedikt Bär
2018-03-23Merge pull request #17321 from LinkDoyle/issue_16350Rémi Verschelde
Fix switching WindowDialog types leaves garbage buttons
2018-03-23Merge pull request #17555 from poke1024/add-worldenv-warningRémi Verschelde
Warn about WorldEnvironment being ignored
2018-03-23Merge pull request #17571 from kubecz3k/cam-disableRémi Verschelde
a way to ensure that camera is disabled
2018-03-23Merge pull request #17612 from robfram/fix-richtextlabel-bbcodeRémi Verschelde
Fix bad rendering of BBCode tables in `RichTextLabel`
2018-03-19Fix oversampled font artifacts after resizeRuslan Mustakov
Font update after resize relies on the viewport size which was updated after the font was already refreshed, which resulted in artifacts when it was rendered into the actual/new viewport size. Fixes #15173.
2018-03-19Merge pull request #17618 from groud/fix_gridcontainerRémi Verschelde
Fixes wrong calculation of gridcontainer's children size
2018-03-18Fixes wrong calculation of gridcontainer's children sizeGilles Roudiere
2018-03-18Fix bad rendering of BBCode tables in `RichTextLabel`robfram
Text overflowed canvas as tables didn't calculate correctly the width of their columns. They used the whole table width available for each column. Also, the `cell` parameter was wrongly parsed if used with its optional argument (expand ratio). This PR fixs the parsing of `cell` parameter (i.e. `cell=e`) and the distribution of the full table width between columns, but it overrides automatically the `expand` flag if the column is smaller than it could be, to allow a better UX out-of-the-box. It keeps the `expand_ratio` flag to let the user customize how every column grows in relation to the rest. Partially fix #6289.
2018-03-17a way to ensure that camera is disabledJakub Grzesik
2018-03-16Merge pull request #16947 from Faless/ui_actionsFabio Alessandrelli
GUI elements ui_action usage, improvements
2018-03-16Warn about WorldEnvironment being ignoredBernhard Liebl
2018-03-16Merge pull request #17537 from Noshyaar/intcamRémi Verschelde
InterpolatedCamera: use internal_process
2018-03-16InterpolatedCamera: use internal_processPoommetee Ketson
2018-03-15Merge pull request #17264 from poke1024/fix-gesture-key-event-acceptedHein-Pieter van Braam
Fix gesture events being blocked
2018-03-15Merge pull request #17293 from bncastle/basebutton_fix_pressedHein-Pieter van Braam
Fix "ui_accept" action not calling _pressed() function in GDScript Button
2018-03-13Merge pull request #17345 from AlexHolly/expose-itemlist-move-itemRémi Verschelde
expose Itemlist.move_item and optimize functionality
2018-03-13expose itemlist.unselect_all()Alexander Holland
2018-03-13expose Itemlist.move_item and optimize functionalityAlexander Holland
2018-03-13Merge pull request #16971 from Noshyaar/tilemapRémi Verschelde
TileMap: add fix_invalid_tiles
2018-03-13Merge pull request #17094 from Calinou/add-dynamicfont-hinting-optionsRémi Verschelde
Add an hinting mode setting to DynamicFonts
2018-03-13Merge pull request #17114 from poke1024/fix15719Rémi Verschelde
Fix line thickness for CollisionPolygon2D.
2018-03-13Merge pull request #17314 from robfram/complete-path-15813Rémi Verschelde
Fix bad autocomplete of partially written node paths when using syntactic sugar notation ($)
2018-03-13Merge pull request #17359 from AlexHolly/completion-edge-jumpRémi Verschelde
Auto completion edge jump
2018-03-13Merge pull request #17381 from poke1024/fix-anim-scrubRémi Verschelde
AnimationPlayer: fix scrubbing after play backwards
2018-03-13Merge pull request #17383 from poke1024/colorpicker-tweaksRémi Verschelde
Better tab support for color picker
2018-03-13Merge pull request #17422 from robfram/fix-radial-textureprogressRémi Verschelde
Implement line clipping for `TextureProgress` to avoid bad rendering
2018-03-13Merge pull request #17410 from groud/fix_grid_containerRémi Verschelde
Fixes infinite loop in GridContainer
2018-03-13Merge pull request #17191 from garyo/fix_grid_contRémi Verschelde
Fix infinite loop in GridContainer layout
2018-03-13Merge pull request #17432 from ShyRed/tilemapupdateRémi Verschelde
Update TileMap when its TileSet changes
2018-03-12Various ui tweaks for color pickerBernhard Liebl
2018-03-11Update TileMap when its TileSet changesShyRed
Make TileMap monitor its TileSet for changes and emit a signal when the TileSet changes. This makes the editor update and show the updated version of the TileSet.
2018-03-11expose Itemlist.is_anything_selectedAlexander Holland
2018-03-10Implement line clipping for `TextureProgress` to avoid bad rendering due to ↵robfram
imprecise UV mapping Original code used a quick aproximation for simulating the correspondent texel in the `TextureProgress` texture as radial progress indicator. This lead to visualization errors. Changed it for a Liang-Barsky line clipping algorithm stripped to its minimum for this specific use case. Fix #17364.
2018-03-10Fix infinite loop in GridContainer layoutGary Oberbrunner
I had a grid container and tried to set rect.min_height larger in the editor; that caused an infinite loop in GridContainer::_notification at line 118. The reason is max_index was being set to the *height* of the row, not the *index* of the row. So later when it tried to erase that row and try again, there was nothing to erase. I applied the same fix to the width code.
2018-03-10Update Sprite when Texture changesShyRed
Make Sprite monitor its Texture for changes and trigger an update when the sprite changes.
2018-03-10Fixes infinite loop in GridContainerGilles Roudiere
2018-03-09AnimationPlayer: fix scrubbing after play backwardsBernhard Liebl
2018-03-09auto-completion edge jumpAlexander Holland
arrow up/down jumps to end/start on edges
2018-03-08Merge pull request #17341 from poke1024/fix16461Rémi Verschelde
Fix unselectable flipped sprites (fixes 16461)
2018-03-08Merge pull request #17189 from CodeAndWeb/masterRémi Verschelde
Fixes Selection of Sprites using AtlasTexture
2018-03-07Fix unselectable flipped sprites (fixes 16461)poke1024
2018-03-07Prevent division by zero in GridContainerLeon Krause
2018-03-07Fix switching WindowDialog types leaves garbage buttonsLink
We can distinguish between node-specific children and custom children by `child->is_owned_by_parent()`. Fixes: #16350
2018-03-06Fix bad autocomplete of partially written node paths when using syntactic ↵robfram
sugar notation ($) If you had a tree like Node2D->Sprite->Camera2D and you write a code like $Node2D/Spr and chose the autocompletion sugested Node2D/Sprite, the resulting string was $Node2D/Node2D/Sprite instead $Node2D/Sprite. If you chose Node2D/Sprite/Camera2D, then you ended with $Node2D/Node2D/Sprite/Camera2D. Fix #15813.
2018-03-06Merge pull request #17205 from Ranoller/patch-3Rémi Verschelde
FIX Windows enter/exit mouse notifications
2018-03-05Fix BaseButton not always calling _pressed()bncastle
Fix "ui_accept" action in BaseButton.cpp not calling _pressed() func in GDScript
2018-03-05Merge pull request #17262 from poke1024/fix-sprite-get-rectsRémi Verschelde
Fix uninitialized data in Sprite::_get_rects()