summaryrefslogtreecommitdiffstats
path: root/editor/plugins/curve_editor_plugin.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Fix warnings on virtual methods [-Woverloaded-virtual] ↵Rémi Verschelde2018-10-021-1/+2
| | | | | | | | | | | | | | | | | | | | | | | [-Wdelete-non-virtual-dtor] Fixes the following Clang 7 warnings: ``` editor/editor_help.h:123:7: warning: 'EditorHelpIndex::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/editor_help.h:95:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/editor_help.h:96:7: warning: 'EditorHelpSearch::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/plugins/curve_editor_plugin.h:141:15: warning: 'CurvePreviewGenerator::generate' hides overloaded virtual function [-Woverloaded-virtual] editor/plugins/script_editor_plugin.h:70:7: warning: 'ScriptEditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual] editor/quick_open.h:69:7: warning: 'EditorQuickOpen::popup' hides overloaded virtual function [-Woverloaded-virtual] main/tests/test_io.cpp:53:15: warning: 'TestIO::TestMainLoop::input_event' hides overloaded virtual function [-Woverloaded-virtual] servers/audio/effects/audio_effect_record.h:69:15: warning: 'AudioEffectRecordInstance::process_silence' hides overloaded virtual function [-Woverloaded-virtual] core/os/memory.h:119:2: warning: destructor called on non-final 'ContextGL_X11' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'EditorScriptCodeCompletionCache' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'Engine' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'PhysicalBone::JointData' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerScene' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] core/os/memory.h:119:2: warning: destructor called on non-final 'VisualServerViewport' that has virtual functions but non-virtual destructor [-Wdelete-non-virtual-dtor] ```
* Fix warnings about invalid logical not on left hand side ↵Rémi Verschelde2018-10-011-2/+2
| | | | | | | | | | | | | [-Wlogical-not-parentheses] Fixes the following Clang 7 warnings and bugs: ``` editor/plugins/curve_editor_plugin.cpp:208:69: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] editor/plugins/curve_editor_plugin.cpp:214:43: warning: logical not is only applied to the left hand side of this comparison [-Wlogical-not-parentheses] ``` Changed according to @Zylann's suggestion on https://github.com/godotengine/godot/pull/22593#discussion_r221699573
* Make core/ includes absolute, remove subfolders from include pathRémi Verschelde2018-09-121-3/+3
| | | | | | This allows more consistency in the manner we include core headers, where previously there would be a mix of absolute, relative and include path-dependent includes.
* Added possibility to change color of 2d editor gridChaosus2018-08-191-2/+2
|
* -Hid texture flags by default so they dont take so much spaceJuan Linietsky2018-05-181-2/+2
| | | | -make curve texture preview not so large, so its easier to embed the editor
* -Ability to open resources in the same windowJuan Linietsky2018-05-171-75/+17
| | | | | -Plenty of fixes and improvements to new inspector -Fixes that were needed to make inspector work better
* Fix typos in code and docs with codespellRémi Verschelde2018-01-181-1/+1
| | | | Using v1.11.0 from https://github.com/lucasdemarchi/codespell
* Small fixes for the Curve Editor's context menu.Michael Alexsander Silva Dias2018-01-031-20/+3
|
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Style: Apply new clang-format 5.0 style to all filesRémi Verschelde2017-12-071-2/+4
|
* CurveEditor: fix can't edit right tangentPoommetee Ketson2017-10-031-9/+9
|
* Removed most of the custom colors from the interface.Daniel J. Ramirez2017-09-251-8/+8
|
* Rename pos to position in user facing methods and variablesletheed2017-09-201-11/+11
| | | | | | | | | | | Rename user facing methods and variables as well as the corresponding C++ methods according to the folloming changes: * pos -> position * rot -> rotation * loc -> location C++ variables are left as is.
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* -Split EditorPlugin into EditorPlugin and EditorInterfaceJuan Linietsky2017-08-261-1/+1
| | | | | -Added EditorInterface to EditorScript -Added functions to save the scene to EditorInterface
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-7/+7
| | | | | | | | | | | | Currently we rely on some undefined behavior when Object->cast_to() gets called with a Null pointer. This used to work fine with GCC < 6 but newer versions of GCC remove all codepaths in which the this pointer is Null. However, the non-static cast_to() was supposed to be null safe. This patch makes cast_to() Null safe and removes the now redundant Null checks where they existed. It is explained in this article: https://www.viva64.com/en/b/0226/
* [#9292] Renamed Image.put_pixel() to set_pixel().ducdetronquito2017-07-071-3/+3
|
* Added Curve preview thumbnailMarc Gilleron2017-07-021-0/+73
|
* Fix curve saving, refined undo/redoMarc Gilleron2017-06-281-29/+53
|
* Curve featuresMarc Gilleron2017-06-261-40/+142
| | | | | | - Ability to set tangents as linear - Indicative min and max values - CurveTexture doesn't need min and max anymore
* Added Curve resourceMarc Gilleron2017-06-241-384/+551
| | | | | | - New resource for curves in y(x) form - CurveTexture now has a Curve - Curve and CurveTexture share the same editor
* InputEvent: Renamed "pos" property to "position"Andreas Haas2017-06-031-2/+2
| | | | Make the naming consistent with other classes.
* Removal of InputEvent as built-in Variant type..Juan Linietsky2017-05-201-7/+12
| | | | this might cause bugs I haven't found yet..
* Add a few missing copyright headersRémi Verschelde2017-04-281-0/+30
|
* New particle system, mostly working, some small features missing.Juan Linietsky2017-04-061-0/+519