summaryrefslogtreecommitdiffstats
path: root/scene
Commit message (Collapse)AuthorAgeFilesLines
* Don't compile editor-only function when tools=noGilles Roudière2020-01-0938-42/+126
|
* fixed camera project_position function that was still using the near ↵Ben Hickling2020-01-091-2/+2
| | | | parameter in a few calculations
* Emits meta_hover_ended when mouse exit RichTextLabelHaoyu Qiu2020-01-081-0/+8
|
* Merge pull request #33817 from Chaosus/vs_fresnelYuri Roubinsky2020-01-082-3/+25
|\ | | | | Make Fresnel node in visual shaders to use default NORMAL/VIEW
| * Makes Fresnel node in visual shaders to use default NORMAL/VIEWYuri Roubinsky2019-11-222-3/+25
| |
* | Merge pull request #34874 from wingedadventurer/bugfix-label-visible-charactersRémi Verschelde2020-01-081-0/+1
|\ \ | | | | | | Make Label node consider spaces for visible_characters property
| * | make Label consider spaces for visible_characterswingedadventurer2020-01-061-0/+1
| | |
* | | Merge pull request #34871 from ↵Rémi Verschelde2020-01-081-0/+6
|\ \ \ | | | | | | | | | | | | | | | | lentsius-bark/textEdit-vertical-horizontal-scroll-expose expose scroll_vertical and scroll_horizontal in TextEdit
| * | | expose scroll_vertical and scroll_horizontal in TextEdit + documentationKrystof Klestil2020-01-071-0/+6
| | | |
* | | | Merge pull request #34900 from timothyqiu/rtl-cell-wrapRémi Verschelde2020-01-081-18/+19
|\ \ \ \ | | | | | | | | | | Fixes RichTextLabel click issue when cell text wraps
| * | | | Fixes RichTextLabel click issue when cell text wrapsHaoyu Qiu2020-01-081-18/+19
| | | | |
* | | | | Make possible to edit the GraphEdit's selection rect colorsMichael Alexsander2020-01-072-8/+4
|/ / / /
* | | | Merge pull request #34881 from williamd1k0/fix-animationtree-no3dRémi Verschelde2020-01-071-22/+22
|\ \ \ \ | | | | | | | | | | Fix AnimationTree not available when compiled with disable_3d
| * | | | Fix AnimationTree not available when compiled with disable_3dWilliam Tumeo2020-01-071-22/+22
| |/ / /
* | | | Don't show conf warning if script is not toolTomasz Chabora2020-01-071-1/+2
| | | |
* | | | Check if cursor is inside meta when getting cursor shapeKanabenki2020-01-071-3/+3
| | | |
* | | | Fixes crash when using Mesh::create_outline and Mesh::create_convex_shapeHaoyu Qiu2020-01-071-0/+4
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | | Fixes import of models as PackedSceneHaoyu Qiu2020-01-071-2/+2
| | | |
* | | | Merge pull request #34867 from volzhs/calculate-label-size-2Rémi Verschelde2020-01-061-7/+4
|\ \ \ \ | |/ / / |/| | | Calculate label size more accurately
| * | | Calculate label size more accuratelyvolzhs2020-01-071-7/+4
| | | |
* | | | Merge pull request #34865 from volzhs/oversampling-emojiRémi Verschelde2020-01-062-5/+19
|\ \ \ \ | |_|/ / |/| | | Update size and position for colored font with oversampling
| * | | Update size and position for colored font with oversamplingvolzhs2020-01-072-5/+19
| |/ /
* | | Merge pull request #33987 from nekomatata/own-world-environmentRémi Verschelde2020-01-063-3/+61
|\ \ \ | | | | | | | | Viewport environment is updated properly when set to own world
| * | | Viewport environment is updated properly when set to own worldPouleyKetchoupp2019-11-293-3/+61
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | | Merge pull request #34303 from Chaosus/fix_texture_crashRémi Verschelde2020-01-061-0/+2
|\ \ \ \ | | | | | | | | | | Fixed crash if passing invalid image ref to TextureLayered
| * | | | Fixed crash if passing invalid image ref to TextureLayeredYuri Roubinsky2019-12-121-0/+2
| | | | |
* | | | | Merge pull request #34020 from gytsen/unify-pack-versionRémi Verschelde2020-01-061-5/+3
|\ \ \ \ \ | | | | | | | | | | | | PCK: Set VERSION_PATCH in header, factor out header magic
| * | | | | PCK: Set VERSION_PATCH in header, factor out header magicJoost Heitbrink2020-01-061-5/+3
| | |_|/ / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | | | Merge pull request #34829 from timothyqiu/checks-bundleRémi Verschelde2020-01-061-12/+14
|\ \ \ \ \ | |/ / / / |/| | | | Fixes crash for bad property of PackedScene
| * | | | Fixes crash for bad property of PackedSceneHaoyu Qiu2020-01-051-12/+14
| | | | |
* | | | | Merge pull request #34839 from madmiraal/fix-34807Rémi Verschelde2020-01-051-10/+1
|\ \ \ \ \ | | | | | | | | | | | | Don't update the floor_velocity with the current linear_velocity.
| * | | | | Don't update the floor_velocity with the current linear_velocity.Marcel Admiraal2020-01-051-10/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updating the floor velocity with the body's current linear velocity discards the velocity component provided by the body's angular rotation. Without the current contact point there is no way to calculate the current velocity component provided by the body's angular rotation therefore we need to use the velocity calculated at the time of the collision. Fixes #34807.
* | | | | | Fix calculating label sizevolzhs2020-01-061-9/+9
|/ / / / /
* | | | | Merge pull request #34835 from nekomatata/stylebox-aa-fixRémi Verschelde2020-01-051-3/+3
|\ \ \ \ \ | |/ / / / |/| | | | Fixed StyleBoxFlat antialiasing with aa size of 1
| * | | | Fixed StyleBoxFlat antialiasing with aa size of 1PouleyKetchoupp2020-01-051-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Also made aa size consistent when computing uv coordinates and fixed a warning about aa_border_width not initialized in some cases. fixes #34830
* | | | | Makes more strings translatableHaoyu Qiu2020-01-041-3/+1
| | | | |
* | | | | Merge pull request #34781 from fossegutten/button-flashRémi Verschelde2020-01-031-1/+9
|\ \ \ \ \ | |/ / / / |/| | | | Fixes button flashing when releasing mousebutton outside
| * | | | Fixes button flashing when releasing mousebutton outsidefossegutten2020-01-031-1/+9
| | | | |
* | | | | Merge pull request #34755 from Calinou/shadermaterial-connect-editor-onlyRémi Verschelde2020-01-031-2/+10
|\ \ \ \ \ | | | | | | | | | | | | Don't connect ShaderMaterial's `changed` signal when not in the editor
| * | | | | Don't connect ShaderMaterial's `changed` signal when not in the editorHugo Locurcio2020-01-021-2/+10
| | | | | | | | | | | | | | | | | | | | | | | | This closes #34741.
* | | | | | Merge pull request #34726 from nekomatata/polygon2d-antialiasing-fixRémi Verschelde2020-01-031-1/+1
|\ \ \ \ \ \ | | | | | | | | | | | | | | Fixed antialiasing option for Polygon2D with concave/hollow shapes
| * | | | | | Fixed antialiasing option for Polygon2DPouleyKetchoupp2020-01-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Some cases were not handled properly for Polygon2D after making changes in common code to fix Line2D antialiasing. Added an option for drawing polygons to differentiate the two use cases. Fixes #34568
* | | | | | | Merge pull request #34779 from timothyqiu/tree-hscrollRémi Verschelde2020-01-031-21/+43
|\ \ \ \ \ \ \ | | | | | | | | | | | | | | | | Better horizontal scroll for Tree
| * | | | | | | Better horizontal scroll for TreeHaoyu Qiu2020-01-031-21/+43
| | |_|/ / / / | |/| | | | | | | | | | | | | | | | | | | | | | | | | | * Adds pan gesture support for horizontal scroll. * Scrolls horizontally when needed to ensure cursor visiblility.
* / | | | | | Add a shorthand for setting the exit code using `SceneTree::quit()`Hugo Locurcio2020-01-032-5/+9
|/ / / / / / | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This reduces the amount of code required to exit a process with a non-zero exit code. This pattern is also found in most other programming languages.
* | | | | | Clears button mask before activating menu itemHaoyu Qiu2020-01-031-0/+1
| | | | | |
* | | | | | Update Camera.project_position to not return get_global_transform().origin ↵SIYU FU2020-01-021-2/+1
| |/ / / / |/| | | | | | | | | | | | | | if projection mode is orthogonal
* | | | | Fix wrong disconnect in callback in VisibilityNotifier 3DАлександр Растриженков2020-01-022-3/+0
| | | | |
* | | | | Merge pull request #34720 from Calinou/light-gizmo-color-by-lightRémi Verschelde2020-01-021-0/+2
|\ \ \ \ \ | | | | | | | | | | | | Tint 3D light gizmos using the light's color
| * | | | | Tint 3D light gizmos using the light's colorHugo Locurcio2020-01-011-0/+2
| |/ / / / | | | | | | | | | | | | | | | | | | | | This makes navigation more convenient in the 3D viewport, especially when using the unshaded display mode.