summaryrefslogtreecommitdiffstats
path: root/editor/plugins/curve_editor_plugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Merge commit godotengine/godot@8004c7524fb9f43425c4d6f614410a76678e0f7cSpartan3222024-10-301-1/+1
|\
| * Rename internal Button icon to button_icon to match exposed methodsAaron Franke2024-10-291-1/+1
| |
* | 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 SceneStringName::toggledYuri Rubinsky2024-08-281-1/+1
|
* Fix incorrect Curve editor preview thumbnail scalingHugo Locurcio2024-07-211-2/+1
| | | | | | | `EDSCALE` scaling was applied even though it shouldn't be, which led to pixelated thumbnails due to double scaling. For reference, AudioStream previews don't use `EDSCALE` and look fine at any editor scale (the editor itself already scales the thumbnail requests).
* Improve Curve preview colors for consistencyChristian Kaiser2024-07-181-3/+1
|
* Enable `restart_if_changed` for the touchscreen editor settingsFredia Huya-Kouadio2024-07-171-6/+0
| | | | The alternative was to regenerate the theme which caused the Android Editor to freeze while the regeneration was ongoing.
* [Scene] Add `SceneStringNames::text/value_changed`A Thousand Ships2024-06-191-1/+1
|
* [Scene] Add `SceneStringNames::font(_size/_color)`A Thousand Ships2024-06-181-9/+9
|
* [Scene] Add `SceneStringNames::panel`A Thousand Ships2024-05-301-1/+1
|
* [Scene] Add `SceneStringNames::id_pressed`A Thousand Ships2024-05-301-1/+1
|
* Use check_changed_settings_in_group() everywherekobewi2024-02-191-1/+6
|
* Reorganize code related to editor themingYuri Sizov2024-01-161-1/+1
| | | | | | | | | | | | | This change introduces a new EditorThemeManager class to abstract theme generatio and its subroutines. Logic related to EditorTheme, EditorColorMap, and editor icons has been extracted into their respective files with includes cleaned up. All related files have been moved to a separate folder to better scope them in the project. This includes relevant generated files as well.
* Fix CurveEdit crash when dragging the curve if it is nullYuri Rubinsky2023-09-231-0/+3
|
* 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-1/+1
|
* Add EditorStringNames singletonkobewi2023-09-031-17/+18
|
* Increase vertical size of `CurveEdit` when `Inspector` widensocean (they/them)2023-08-031-1/+4
| | | | | | | | This should allow users to edit points in a less constrained space, which feels like a UX improvement. That said, changing minimum size according to current size might be a hack that causes issues in certain situations.
* Merge pull request #79175 from MewPurPur/curve-deselectYuri Sizov2023-07-241-1/+3
|\ | | | | | | Deselect curve point with RMB on the empty space
| * Deselect curve point with RMB on the empty spaceMewPurPur2023-07-081-1/+3
| |
* | Fix wrong Curve connectionkobewi2023-07-181-2/+2
| |
* | Unify and streamline connecting to Resource changeskobewi2023-07-171-5/+4
| |
* | Extract and reorganize texture resource classesHendrik Brucker2023-07-141-0/+1
|/
* Fix Curve Editor crash with null curveMewPurPur2023-06-131-3/+5
|
* Some code simplificationsMarkus Sauermann2023-06-081-1/+1
| | | | | | | | | | | | | | | | | AnimationNodeBlendSpace2DEditor: - `!tree` is always false, because it is checked a few lines above CurveEdit: - grabbing != GRAB_NONE is redundant GradientTexture2DEdit: - grabbed != HANDLE_FROM is redundant - grabbed != HANDLE_TO is redundant Viewport: - index is not used afterwards - In these cases `gui.mouse_focus` is always valid. Move check to a DEV_ASSERT - simplify `stopped` calculation
* Use NOTIFICATION_MOUSE_EXIT instead of a signal for a few editor pluginsVolTer2023-05-311-8/+6
|
* Overhaul the Curve EditorVolTer2023-05-281-480/+725
|
* Add metadata to resource previewskobewi2023-05-101-1/+1
|
* Adds a `scale_gizmo_handles` entry to the `Touchscreen` editor settingsFredia Huya-Kouadio2023-05-071-8/+14
| | | | | When enabled, this scales the editor icons to improve usability on touchscreen devices. In addition this commit fixes touch detection for the collision_shape_2d_editor_plugin so it scales with the icons size.
* Extract editor run toolbar into its own componentYuri Sizov2023-04-191-0/+1
| | | | | | | | - Simplify and update its logic. - Simplify EditorScript. - Improve EditorNode and other relevant includes. - Fix scene-based path in the movie writer when reloading a scene.
* Decouple EditorInterface from EditorPluginYuri Sizov2023-04-171-1/+2
| | | | | - Simplify some includes in the process. - Also exposes EditorInterface.movie_maker_enabled as a property.
* Fix scaling issue in `draw_line` and similar methodsDanil Alexeev2023-01-161-2/+2
|
* Add EditorUndoRedoManager singletonkobewi2023-01-161-5/+5
|
* 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".
* Unify usage of undo_redo in editorkobewi2022-11-021-31/+28
|
* Fix error in curve editor multiline string drawocean (they/them)2022-11-011-2/+2
|
* Unify usage of GLOBAL/EDITOR_GETkobewi2022-10-181-1/+1
|
* Make some Image methods statickobewi2022-10-141-1/+1
|
* Improve naming of theme properties throughout GUI codeYuri Sizov2022-09-061-1/+1
| | | | | | | | | | | | | | Rename ItemList's bg -> panel Rename ItemList's bg_focus -> focus Rename ProgressBar's bg -> background Rename ProgressBar's fg -> fill Rename Tree's bg -> panel Rename Tree's bg_focus -> focus Rename ScrollContainer's bg -> panel Rename FileDialog's *_icon_modulate -> *_icon_color Rename FileDialog's files_disabled -> file_disabled_color Rename CheckButton's on/off -> checked/unchecked Rename check_v_adjust -> check_v_offset
* Rename Curve/Curve2D/Curve3D/Gradient `interpolate()` to `sample()`Hugo Locurcio2022-08-301-3/+3
| | | | | "sampling" is a more accurate term than "interpolating" for what's happening when using that function.
* Rename `CanvasItem.update()` to `queue_redraw()`Micky2022-08-291-4/+4
| | | | | | | | | | Affects a lot of classes. Very thoroughly checked signal connections and deferred calls to this method, add_do_method/add_undo_method calls, and so on. Also renames the internal `_update_callback()` to `_redraw_callback()` for consistency. Just a few comments have also been changed to say "redraw". In CPUParticles2D, there was a private variable with the same name. It has been renamed to `do_redraw`.
* Add per-scene UndoRedokobewi2022-08-221-27/+27
|
* Extract EditorResourceConversionPlugin into its own source files and clean ↵Yuri Sizov2022-07-311-0/+1
| | | | up editor includes
* rename translate(d) to translate(d)_local in Transform 2D/3DFabian Keller2022-07-161-2/+2
|
* Add static methods for creating Image and ImageTexturekobewi2022-07-081-5/+1
|
* Use autowrap in the curve editor.bruvzg2022-07-041-2/+3
|
* Update if == NOTIFICATION_* to switch statements to match coding stylemegalobyte2022-02-161-2/+4
|
* Remove most EditorNode constructor parameters and fieldstrollodel2022-02-141-1/+1
|
* Improve compilation speed (forward declarations/includes cleanup)Hendrik Brucker2022-02-121-0/+1
|