summaryrefslogtreecommitdiff
path: root/editor
AgeCommit message (Collapse)Author
2021-05-04Merge pull request #48274 from groud/undoredo_dependenciesRémi Verschelde
Allow to hook a callback into inspector's undo/redo
2021-05-04Provide a way to hook into Inspectors UndoRedo.Gilles Roudière
2021-05-03Assorted fixes to UV unwrapping and GPU lightmapperjfons
Various fixes to UV2 unwrapping and the GPU lightmapper. Listed here for context in case of git blame/bisect: * Fix UV2 unwrapping on import, also cleaned up the unwrap cache code. * Fix saving of RGBA images in EXR format. * Fixes to the GPU lightmapper: - Added padding between atlas elements, avoids bleeding. - Remove old SDF generation code. - Fix baked attenuation for Omni/Spot lights. - Fix baking of material properties onto UV2 (wireframe was wrongly used before). - Disable statically baked lights for objects that have a lightmap texture to avoid applying the same light twice. - Fix lightmap pairing in RendererSceneCull. - Fix UV2 array generated from `RenderingServer::mesh_surface_get_arrays()`. - Port autoexposure fix for OIDN from 3.x. - Save debug textures as EXR when using floating point format.
2021-05-03Merge pull request #48403 from kleonc/tilemap-editor-modulate-autotile-previewRémi Verschelde
TileMapEditor Modulate autotile previews
2021-05-03TileMapEditor Modulate autotile previewskleonc
2021-05-03TileMapEditor::_bucket_fill Check autotile coordinates only if autotile is ↵kleonc
selected
2021-05-02Add comment highlighting to script thumbnailsMichael Alexsander
2021-05-01FileSystem: Force update when we delete a folder from the editor and ↵Mateo Kuruk Miccino
searching changes only if we change the directory successfully in the scan_fs_changes
2021-04-30Implement Particle Trailsreduz
-Enable the trails and set the length in seconds -Provide a mesh with a skeleton and a skin -Or, alternatively use one of the built-in TubeTrailMesh/RibbonTrailMesh -Works deterministically -Fixed particle collisions (were broken) -Not working in 2D yet (that will happen next)
2021-04-29Replace remaining uses of `NULL` with `nullptr`Rémi Verschelde
Follow-up to #38736 (these uses were likely added after this PR was merged).
2021-04-28Remove obsolete LargeTexture, it's no longer useful since 3.xRémi Verschelde
It existed in early Godot releases to allow working around hardware limitations on max texture sizes (e.g. hardware limits of 1024x1024 pixels). Nowadays the max texture size supported natively by Godot is 16384x16384, and even low end mobile hardware should support at least 4096x4096. The LargeTexture implementation is basically just an array with offsets, sizes and textures and should be easy to replicate with a custom Texture resource if needed - solving most of its bugs on the way as the implementation removed here has various unimplemented or incomplete methods.
2021-04-28Merge pull request #48239 from akien-mga/goodbye-copymemRémi Verschelde
Core: Drop custom `copymem`/`zeromem` defines
2021-04-27Merge pull request #48050 from JFonS/occlusion_cullingRémi Verschelde
2021-04-27Core: Drop custom `copymem`/`zeromem` definesRémi Verschelde
We've been using standard C library functions `memcpy`/`memset` for these since 2016 with 67f65f66391327b2967a20a89c3627e1dd6e84eb. There was still the possibility for third-party platform ports to override the definitions with a custom header, but this doesn't seem useful anymore.
2021-04-27Merge pull request #47826 from Chaosus/vs_fix_default_input_overridingRémi Verschelde
Prevents default values of VSNodeCustom from overriding by a script
2021-04-26Remove uses of `auto` for better readability and online code reviewsHugo Locurcio
The current code style guidelines forbid the use of `auto`. Some uses of `auto` are still present, such as in UWP code (which can't be currently tested) and macros (where removing `auto` isn't easy).
2021-04-24Merge pull request #46952 from LightningAA/patch-1Rémi Verschelde
Remove current export template version from "Installed Versions"
2021-04-23Merge pull request #46593 from pycbouh/theme-editor-better-edit-uiRémi Verschelde
Refactor Edit Theme menu in Theme Editor
2021-04-23Implement occlusion cullingjfons
Added an occlusion culling system with support for static occluder meshes. It can be enabled via `Project Settings > Rendering > Occlusion Culling > Use Occlusion Culling`. Occluders are defined via the new `Occluder3D` resource and instanced using the new `OccluderInstance3D` node. The occluders can also be automatically baked from a scene using the built-in editor plugin.
2021-04-23Merge pull request #48079 from sboron/fix-47643-remoteFabio Alessandrelli
Fix Closing Running Game, still shows remote and local tabs
2021-04-23fix stop debugger on closing gameStefan Boronczyk
2021-04-22ICU: Update to version 69.1, improve ICU data export process.bruvzg
2021-04-21i18n: Sync translations with WeblateRémi Verschelde
(cherry picked from commit 305c364c13d551bb30beb79af2d0c3655861bacb)
2021-04-20ProjectSettingsEditor: Make "Type" OptionButton item ids match corresponding ↵kleonc
Variant::Type enum values.
2021-04-20Merge pull request #47990 from Calinou/editor-debugger-open-cpp-source-on-githubRémi Verschelde
Add a menu action to open C++ source on GitHub in the editor debugger
2021-04-19Use multiple threads to import.Juan Linietsky
- For now everything imports multithreaded by default (should work I guess, let's test). - Controllable per importer Early test benchmark. 64 large textures (importing as lossless, _not_ as vram) on a mobile i7, 12 threads: Importing goes down from 46 to 7 seconds. For VRAM I will change the logic to use a compressing thread in a subsequent PR, as well as implementing Betsy.
2021-04-19Add a menu action to open C++ source on GitHub in the editor debuggerHugo Locurcio
This helps user find back the source code where the error/warning was emitted from.
2021-04-19Merge pull request #47448 from madmiraal/rename-lineedit-cursorRémi Verschelde
Rename LineEdit getters and setters to match property names
2021-04-19Merge pull request #47611 from Bhu1-V/PR/instance-scene-fixRémi Verschelde
2021-04-18Refactor Edit Theme menu in Theme EditorYuri Sizov
2021-04-17Fix `sky` visual shader mode after last renameYuri Roubinsky
2021-04-17instance-scene: make parent as edited_scene if no parent selected.Bhuvan Vemula
2021-04-17Rename LineEdit caret_* properties getters and setters to match propertyMarcel Admiraal
2021-04-16Add the About dialog to the project managerHugo Locurcio
The About button is located in the bottom-right corner of the project manager. This allows removing the copyright notice from the window title (which looked a bit ugly in comparison to other applications).
2021-04-16Merge pull request #47629 from ↵Rémi Verschelde
Calinou/editor-allow-center-selection-without-selection Allow Center Selection to work without any selection in 2D/3D editors
2021-04-16Merge pull request #47686 from aaronfranke/script-name-warningRémi Verschelde
2021-04-16Merge pull request #47895 from Calinou/project-manager-name-strip-edgesRémi Verschelde
Strip leading/trailing whitespace for project name in the project manager
2021-04-15Merge pull request #47878 from clayjohn/rename-get_surface_materialRémi Verschelde
Rename get_surface_material to get_surface_override_material
2021-04-14Rename get_surface_material to get_surface_override_materialclayjohn
2021-04-14Strip leading/trailing whitespace for project name in the project managerHugo Locurcio
This affects creating projects and renaming them.
2021-04-14Refactor GLSL shader compilationreduz
-Used a more consistent set of keywords for the shader -Remove all harcoded entry points -Re-wrote the GLSL shader parser, new system is more flexible. Allows any entry point organization. -Entry point for sky shaders is now sky(). -Entry point for particle shaders is now process().
2021-04-14Merge pull request #47856 from ray90514/bug#47555Rémi Verschelde
Fix multi-selection doesn't correctly show in the inspector
2021-04-14Merge pull request #47625 from SushiJackal/47450_fixRémi Verschelde
Fix: Selection Only in Find/Replace now preserves selection
2021-04-13Fix multi-selection doesn't correctly show in the inspectorray90514
2021-04-12Add a tooltip to document performance issues of the Remote scene treeHugo Locurcio
2021-04-12Prevents default values of VSNodeCustom from overriding by a scriptYuri Roubinsky
2021-04-12Merge pull request #43180 from nathanfranke/node-configuration-arrayRémi Verschelde
Use Array for node configuration warnings
2021-04-12Merge pull request #47709 from KoBeWi/node_that_changes_everythingRémi Verschelde
Expose edit_node() for editor plugins
2021-04-11Use Array for node configuration warningsNathan Franke
Previously, the warnings were passed as a string and delimitation of which were hard coded at each implementation.
2021-04-12Merge pull request #47531 from fire/update-skeleton-displayRémi Verschelde
Update Skeleton3D inspector Bone Transforms