summaryrefslogtreecommitdiffstats
path: root/editor/plugins/polygon_3d_editor_plugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@cb411fa960f0b7fdbd97dcdb4c90f9346360ee0eSpartan3222024-11-121-2/+2
|\
| * Core: Integrate `Ref::instantiate` where possibleThaddeus Crews2024-11-101-2/+2
| |
* | Merge commit godotengine/godot@8004c7524fb9f43425c4d6f614410a76678e0f7cSpartan3222024-10-301-2/+2
|\|
| * Rename internal Button icon to button_icon to match exposed methodsAaron Franke2024-10-291-2/+2
| |
* | Fix copyright headers referring to GodotSpartan3222024-10-271-2/+2
| |
* | Rebrand preambles to RedotDubhghlas McLaughlin2024-10-111-0/+2
|/ | | | | | | | | | | | | | | | | | | | | | Credits: Co-authored-by: Skogi <skogi.b@gmail.com> Co-authored-by: Spartan322 <Megacake1234@gmail.com> Co-authored-by: swashberry <swashdev@pm.me> Co-authored-by: Christoffer Sundbom <christoffer_karlsson@live.se> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: McDubh <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: Dubhghlas McLaughlin <103212704+mcdubhghlas@users.noreply.github.com> Co-authored-by: radenthefolf <radenthefolf@gmail.com> Co-authored-by: John Knight <80524176+Tekisasu-JohnK@users.noreply.github.com> Co-authored-by: Adam Vondersaar <adam.vondersaar@uphold.com> Co-authored-by: decryptedchaos <nixgod@gmail.com> Co-authored-by: zaftnotameni <122100803+zaftnotameni@users.noreply.github.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: wesam <108880473+wesamdev@users.noreply.github.com> Co-authored-by: Mister Puma <MisterPuma80@gmail.com> Co-authored-by: Aaron Benjamin <lifeartstudios@gmail.com> Co-authored-by: SingleError <isaaconeoneone@gmail.com> Co-authored-by: Bioblaze Payne <BioblazePayne@gmail.com>
* [Scene] Add SceneStringNames::pressedA Thousand Ships2024-05-141-2/+2
|
* [Core] Add scalar versions of `Vector*` `min/max/clamp/snap(ped)`A Thousand Ships2024-05-021-3/+1
| | | | Convenience for a number of cases operating on single values
* Add const lvalue ref to editor/* container parametersMuller-Castro2024-02-261-1/+1
|
* Make 3D editor gizmos and debug shapes ignore fogHugo Locurcio2023-09-271-0/+2
| | | | This makes them easier to see in their intended colors in scenes with fog.
* Merge pull request #81939 from YuriSizov/gui-flat-and-depressedRémi Verschelde2023-09-251-2/+2
|\ | | | | | | Replace flat buttons with flat-styled buttons with a visible pressed state
| * Replace flat buttons with flat-styled buttons with a visible pressed stateYuri Sizov2023-09-191-2/+2
| |
* | Replace Ctrl in editor shortcuts with Cmd or Ctrl depending on platformajreckof2023-09-191-2/+2
|/
* [Editor] Replace `ERR_FAIL_COND` with `ERR_FAIL_NULL` where applicableA Thousand Ships2023-09-151-4/+4
|
* Merge pull request #81516 from YuriSizov/editor-theme-access-the-successYuri Sizov2023-09-151-1/+2
|\ | | | | | | Fix accessing editor theme items throughout the UI
| * Fix accessing editor theme items throughout the UIYuri Sizov2023-09-151-1/+2
| | | | | | | | This also exposes `EditorInterface::get_editor_theme`.
* | Improve the looks of 2D/3D viewport contextual toolbarsYuri Sizov2023-09-131-1/+0
|/
* Add EditorStringNames singletonkobewi2023-09-031-3/+3
|
* Unify and streamline connecting to Resource changeskobewi2023-07-171-3/+2
|
* Improve includes of EditorNode (and everything else)Yuri Sizov2023-04-071-2/+2
| | | | | | Also start organizing editor-specific GUI components into a dedicated folder, `editor/gui`. Also move `editor_file_server` next to the rest of debugger classes.
* Fix Polygon3DEditor parenting errorskobewi2023-02-221-1/+5
|
* Add EditorUndoRedoManager singletonkobewi2023-01-161-4/+4
|
* Use BitField<> in core type masksJuan Linietsky2023-01-081-1/+1
| | | | | | | | * All core types masks are now correctly marked as bitfields. * The enum hacks in MouseButtonMask and many other types are gone. This ensures that binders to other languages non C++ can actually implement type safe bitmasks. * Most bitmask operations replaced by functions in BitField<> * Key is still a problem because its enum and mask at the same time. While it kind of works in C++, this most likely can't be implemented safely in other languages and will have to be changed at some point. Mostly left as-is. * Documentation and API dump updated to reflect bitfields in core types.
* One Copyright Update to rule them allRémi Verschelde2023-01-051-29/+29
| | | | | | | | | | | | | | | | | | | | As many open source projects have started doing it, we're removing the current year from the copyright notice, so that we don't need to bump it every year. It seems like only the first year of publication is technically relevant for copyright notices, and even that seems to be something that many companies stopped listing altogether (in a version controlled codebase, the commits are a much better source of date of publication than a hardcoded copyright statement). We also now list Godot Engine contributors first as we're collectively the current maintainers of the project, and we clarify that the "exclusive" copyright of the co-founders covers the timespan before opensourcing (their further contributions are included as part of Godot Engine contributors). Also fixed "cf." Frenchism - it's meant as "refer to / see".
* Use forward-declarations in big editor classestrollodel2022-11-291-0/+1
|
* Cleanup remaining EditorUndoRedoManager usageskobewi2022-11-241-1/+4
|
* Rename remaining "Spatial" in Plugins to "Node3D"Micky2022-10-041-1/+1
| | | | | | | | | | | | For EditorNode3DGizmo: - `get_spatial_node` -> `get_node_3d` - `set_spatial_node` -> `set_node_3d` For EditorPlugin: - `add_spatial_gizmo_plugin` -> `add_node_3d_gizmo_plugin` - `remove_spatial_gizmo_plugin` -> `remove_node_3d_gizmo_plugin` Also renames some internal methods for consistency (`forward_3d_draw_over_viewport` & `forward_3d_force_draw_over_viewport` ...). Basically, Spatial has been completely eradicated.
* Add per-scene UndoRedokobewi2022-08-221-0/+1
|
* Remove Signal connect bindsJuan Linietsky2022-07-291-2/+2
| | | | | Remove the optional argument p_binds from `Object::connect` since it was deprecated by Callable.bind(). Changed all uses of it to Callable.bind()
* Rename Basis get_axis to get_column, remove redundant methodsAaron Franke2022-05-031-1/+1
|
* Update if == NOTIFICATION_* to switch statements to match coding stylemegalobyte2022-02-161-0/+1
|
* Remove most EditorNode constructor parameters and fieldstrollodel2022-02-141-6/+4
|
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-0/+1
|
* Improvements and fixes to occludersjfons2022-02-071-0/+606
Improvements: * Occluder3D is now an abstract type inherited by: ArrayOccluder3D, QuadOccluder3D, BoxOccluder3D, SphereOccluder3D and PolygonOccluder3D. ArrayOccluder3D serves the same purpose as the old Occluder3D (triangle mesh occluder) while the rest are primitives that can be used to manually place simple occluders. * Occluder baking can now apply simplification. The "bake_simplification_distance" property can be used to set a world-space distance as the desired maximum error, set to 0.1 by default. * Occluders can now be generated on import. Using the "occ" and "occonly" keywords (similar to "col" and "colonly" for colliders) or by enabling on MeshInstance3Ds in the scene's import window. Fixes: * Fixed saving of occluder files after bake. * Fixed a small error where occluders didn't correctly update in the rendering server. Bonus content: * Generalized "CollisionPolygon3DEditor" so it can also be used to edit Resources. Renamed it to "Polygon3DEditor" since it was already being used by other things, not just colliders. * Fixed a small bug in "EditorPropertyArray" where a call to "remove" was left after the "remove_at" rename.