summaryrefslogtreecommitdiffstats
path: root/editor/plugins/spatial_editor_plugin.h
Commit message (Collapse)AuthorAgeFilesLines
* Rename more 2D and 3D nodes to follow conventionRémi Verschelde2020-03-271-883/+0
| | | | Rename editor plugins to match the new node names.
* Renamed 2D and 3D nodes to make their types explicitJuan Linietsky2020-03-271-90/+90
| | | | Fixes #30736.
* Added a Window node, and made it the scene root.Juan Linietsky2020-03-261-2/+2
| | | | Still a lot of work to do.
* Fixes transform gizmo position when node has default transformsimpuid2020-03-211-1/+5
| | | | | | Changes made: * Added dirty bit for SpatialEditorSelectedItem's last_xform * SpatialEditorViewport checks that dirt bit too before skipping the selection
* Style: Set clang-format Standard to Cpp11Rémi Verschelde2020-03-171-3/+3
| | | | | | | | | | For us, it practically only changes the fact that `A<A<int>>` is now used instead of the C++03 compatible `A<A<int> >`. Note: clang-format 10+ changed the `Standard` arguments to fully specified `c++11`, `c++14`, etc. versions, but we can't use `c++17` now if we want to preserve compatibility with clang-format 8 and 9. `Cpp11` is still supported as deprecated alias for `Latest`.
* Merge pull request #36917 from volzhs/cancel-snap-settingRémi Verschelde2020-03-091-0/+5
|\ | | | | Update snap setting only with OK
| * Update snap setting only with OKvolzhs2020-03-091-0/+5
| | | | | | | | restore previous values with cancel
* | Merge pull request #36914 from guilhermefelipecgs/fix_check_view_informationRémi Verschelde2020-03-091-0/+1
|\ \ | | | | | | Fix the VIEW_INFORMATION checkbox not being selected (visually)
| * | Fix the VIEW_INFORMATION checkbox not being selectedGuilherme Felipe2020-03-081-0/+1
| |/ | | | | | | Generated id of "Display Advanced..." was in conflict with "View Information"
* / Add rotation widget to 3D viewportjfons2020-03-081-1/+47
|/
* Added normalmap guided roughness mipmap generator, and a global roughness ↵Juan Linietsky2020-02-111-0/+2
| | | | limiter.
* Re-implemented screen space ambient occlusionJuan Linietsky2020-02-111-0/+1
|
* Auto exposure re-implemented in VulkanJuan Linietsky2020-02-111-0/+1
|
* More GIProbe work and fixesJuan Linietsky2020-02-111-0/+1
|
* GIProbes working.Juan Linietsky2020-02-111-1/+8
|
* Modernized default 3D material, fixes material bugs.Juan Linietsky2020-02-111-9/+9
|
* Texture refactorJuan Linietsky2020-02-111-1/+1
| | | | | | | | -Texture renamed to Texture2D -TextureLayered as base now inherits 2Darray, cubemap and cubemap array -Removed all references to flags in textures (they will go in the shader) -Texture3D gone for now (will come back later done properly) -Create base rasterizer for RenderDevice, RasterizerRD
* Include locked nodes on selection listTomasz Chabora2020-02-101-1/+1
|
* Add a crosshair to the 3D viewportHugo Locurcio2020-01-131-0/+1
| | | | | | | | | The crosshair makes freelook navigation a bit easier, while making it clearer that it's possible to select nodes by clicking while in freelook mode. The crosshair is only displayed while in freelook mode. It uses an icon designed to be visible on any background.
* Merge pull request #34720 from Calinou/light-gizmo-color-by-lightRémi Verschelde2020-01-021-2/+2
|\ | | | | Tint 3D light gizmos using the light's color
| * Tint 3D light gizmos using the light's colorHugo Locurcio2020-01-011-2/+2
| | | | | | | | | | This makes navigation more convenient in the 3D viewport, especially when using the unshaded display mode.
* | Update copyright statements to 2020Rémi Verschelde2020-01-011-2/+2
|/ | | | | | | | | | | 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.
* Cleans up headers included in editor_node.hHaoyu Qiu2019-12-241-0/+1
|
* Implement game camera overrideErik2019-10-231-5/+7
| | | | | | | | | | | | | | | | | | | | | | Implemented uniform API in Viewport class to override 2D and/or 3D camera. Added buttons in 2D and 3D editor viewport toolbars that override the running game camera transform with the editor viewport camera transform. Implemented via remote debugger protocol and camera override API. Removed LiveEditFuncs function pointers from ScriptDebugger class. Since the debugger got access to the SceneTree instance (if one exists), there is no need to store the function pointers. The live edit functions in SceneTree are used directly instead. Also removed the static version of live edit functions in SceneTree for the same reason. This reduced the SceneTree -> Debugger coupling too since the function pointers don't need to be set from SceneTree anymore. Moved script_debugger_remote.h/cpp from 'core/' to 'scene/debugger/'. This is because the remote debugger is now using SceneTree directly and 'core/' classes should not depend on 'scene/' classes.
* Fix calculate_spatial_bounds for selection displayjfons2019-10-041-1/+1
| | | | | Fixes `SpatialEditorPlugin::_calculate_spatial_bounds` so the displayed selection doesn't break with transformed scenes.
* Merge pull request #32119 from Calinou/unify-axis-colorsRémi Verschelde2019-09-251-1/+0
|\ | | | | Use the same axis colors consistently in the 2D and 3D editors
| * Use the same axis colors consistently in the 2D and 3D editorsHugo Locurcio2019-09-131-1/+0
| |
* | Added skin support and simplified APIs to override bone position.Juan Linietsky2019-09-181-1/+2
|/
* Remove redundant author doc commentsIAmActuallyCthulhu2019-08-121-3/+0
|
* Improve the gizmo axis colors and increase the manipulator opacityHugo Locurcio2019-08-011-1/+3
| | | | | | | | | | | | | The new colors should make it easier to see the manipulator gizmo. Highlighted gizmos are now fully opaque (instead of being white), keeping the color information while a gizmo is highlighted. This also adds a setting hint for the manipulator gizmo opacity editor setting. Axis colors were taken from Blender 2.80. This partially addresses #16154.
* Add 'Align Rotation with View' to spatial editormalbach2019-07-231-1/+2
|
* Fixed Make 3D viewport locked nodes unselectable as in 2D viewport #29903Nikhil Kumar2019-07-161-1/+1
|
* Use reference to constant in functionsqarmin2019-07-101-1/+1
|
* Script API methods must return Ref<T> instead of Reference*Ignacio Etcheverry2019-07-051-1/+1
| | | | ptrcall assumes methods that return a Reference type do so with Ref<T>. Returning Reference* from a method exposed to the scripting API completely breaks ptrcalls to this method (it can be quite hard to debug!).
* Some code changed with Clang-Tidyqarmin2019-06-261-1/+1
|
* Merge pull request #27188 from samH-FIT/MacroUpdateRémi Verschelde2019-06-191-1/+2
|\ | | | | Made use of semicolons after GDCLASS more consistent, added semicolons where I found them missing.
| * Made use of semicolons more consitent, fixed formattingJohnJLight2019-06-191-1/+2
| |
* | Fixed navigation schemes Modo/Maya when used with grid map tile placementZach Young2019-06-191-6/+6
|/
* Merge pull request #27860 from Calinou/improve-3d-snappingRémi Verschelde2019-04-211-3/+3
|\ | | | | Make 3D snapping finer when holding Shift
| * Make 3D snapping finer when holding ShiftHugo Locurcio2019-04-091-3/+3
| | | | | | | | | | This also changes the default rotation and scale snapping increments to better make use of fine snapping possibilities.
* | Add grouping to 3D editorJFonS2019-04-171-0/+4
|/
* Add priority to gizmos and fix small issuesJFonS2019-03-121-1/+4
| | | | | | User defined gizmos will haave higher preference than editor gizmos by default. Also fixed some inconsistencies in the gizmos menu when using custom gizmos.
* Remove copy and use instance material override in gizmos, fixes #23783Juan Linietsky2019-02-231-1/+2
|
* Fix icon color for gizmos menu when theme changedChaosus2019-02-151-0/+1
|
* Minor fixes and documentation for Spatial GizmosJFonS2019-01-271-1/+3
|
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Merge pull request #24506 from JFonS/expose_gizmosRémi Verschelde2018-12-301-10/+12
|\ | | | | Expose the new gizmo plugin system to scripting
| * Expose the new gizmo plugin system to scriptingJFonS2018-12-211-10/+12
| |
* | Change default gizmo visibility and iconsJFonS2018-11-181-3/+3
|/
* Make "Perspective" button look like a actual clickable buttonMichael Alexsander Silva Dias2018-10-181-1/+2
|