summaryrefslogtreecommitdiffstats
path: root/editor/groups_editor.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Style: Enforce braces around if blocks and loopsRémi Verschelde2020-05-141-8/+16
| | | | | Using clang-tidy's `readability-braces-around-statements`. https://clang.llvm.org/extra/clang-tidy/checks/readability-braces-around-statements.html
* Style: clang-format: Disable KeepEmptyLinesAtTheStartOfBlocksRémi Verschelde2020-05-141-10/+0
| | | | | | | | | | | | | | Which means that reduz' beloved style which we all became used to will now be changed automatically to remove the first empty line. This makes us lean closer to 1TBS (the one true brace style) instead of hybridating it with some Allman-inspired spacing. There's still the case of braces around single-statement blocks that needs to be addressed (but clang-format can't help with that, but clang-tidy may if we agree about it). Part of #33027.
* Replace NULL with nullptrlupoDharkael2020-04-021-4/+4
|
* Popups are now windows also (broken!)Juan Linietsky2020-03-261-14/+14
|
* Working multiple window support, including editorJuan Linietsky2020-03-261-27/+25
|
* Signals: Fix some regressions from #36426Rémi Verschelde2020-03-031-0/+1
| | | | | | | | - Fix `callable_mp` bindings to methods which used to have default arguments passed to `bind_method`. We now have to re-specify them manually when connecting. - Re-add `GroupsEditor::update_tree` binding. - Misc code quality changes along the way.
* Signals: Port connect calls to use callable_mpRémi Verschelde2020-02-281-29/+14
| | | | | | | | | Remove now unnecessary bindings of signal callbacks in the public API. There might be some false positives that need rebinding if they were meant to be public. No regular expressions were harmed in the making of this commit. (Nah, just kidding.)
* Signals: Fix invalid connections to missing callbacksRémi Verschelde2020-02-231-2/+1
| | | | | These bugs existed since those lines were added, so I assume that their intended use is no longer relevant.
* Reworked signal connection system, added support for Callable and Signal ↵Juan Linietsky2020-02-201-16/+16
| | | | objects and made them default.
* 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
* Fixes add group in Group Editor dialogHaoyu Qiu2020-02-021-1/+1
| | | | | Before this fix, new group can't be created if any existing group starts with the new name.
* Trims user provided group nameHaoyu Qiu2020-01-101-5/+7
|
* 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.
* Fixes Groups Editor batch add/remove nodesHaoyu Qiu2019-12-311-2/+2
|
* Cleans up headers included in editor_node.hHaoyu Qiu2019-12-241-0/+1
|
* Makes more editor strings translatableHaoyu Qiu2019-12-211-1/+1
| | | | | | | | | | * "Add" button text in Groups Editor * "Receiver Method" in Connect Signal Dialog * "Play Mode" in Animation State Machine Editor * "Mesh Library" button text in Mesh Library editor plugin * Compose Array node button texts in Visual Script * Various button texts in TileSet Editor * Various Run Script errors
* Fixes wrong minimum size of Group EditorHaoyu Qiu2019-12-151-1/+1
| | | | Takes current editor scale into account when setting the minimum size.
* Fixed cases where labels with autowrap can overflow the editor uiPouleyKetchoupp2019-11-041-0/+1
| | | | Fixes #33155
* Major enhancements for the group editorMichael Alexsander Silva Dias2019-08-281-59/+154
|
* Merge pull request #30126 from qarmin/remove_unnecessary_codeRémi Verschelde2019-07-011-1/+1
|\ | | | | Remove unnecessary code and add some error explanations
| * Remove unnecessary code and add some error explanationsqarmin2019-07-011-1/+1
| |
* | Replace ` + "/" + ` with `String::file_add()`Nils ANDRÉ-CHANG2019-06-231-1/+1
|/
* Update copyright statements to 2019Rémi Verschelde2019-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* i18n: Sync translation template with current sourceRémi Verschelde2018-12-131-1/+1
| | | | Also French translation update and misc fixes to source strings.
* Refactor editor icon retrievalwillnationsdev2018-09-141-6/+1
|
* Do not use theme to set LineEdit right_iconŁukasz Rutkowski2018-08-111-2/+2
|
* Add clear text button to LineEditŁukasz Rutkowski2018-08-111-0/+2
| | | | | | | | | | - Add pressed state to clear button - Enable clear button on all inputs with search icon - Remove duplicate clear buttons - Fix rendering of icon for center and right alignments - Add clear button to more search fields - Add clear icon to default theme - Add method to control enabled state of clear button - Add property to enable clear button from inspector
* Makes the group dialog resizableGuilherme Felipe2018-07-021-0/+1
|
* Small visual changes for some filter bars.Michael Alexsander Silva Dias2018-05-171-0/+3
|
* Added multi group editor dialog, issue 13997Paulb232018-04-151-1/+436
|
* Add missing copyright headers and fix formattingRémi Verschelde2018-01-051-0/+1
| | | | | | Using `misc/scripts/fix_headers.py` on all Godot files. Some missing header guards were added, and the header inclusion order was fixed in the Bullet module.
* Update copyright statements to 2018Rémi Verschelde2018-01-011-2/+2
| | | | Happy new year to the wonderful Godot community!
* Use HTTPS URL for Godot's website in the headersRémi Verschelde2017-08-271-1/+1
|
* Convert Object::cast_to() to the static versionHein-Pieter van Braam2017-08-241-1/+1
| | | | | | | | | | | | 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/
* Add "Godot Engine contributors" copyright lineRémi Verschelde2017-04-081-0/+1
|
* A Whole New World (clang-format edition)Rémi Verschelde2017-03-051-48/+42
| | | | | | | | | | | | | | | | | | | | | | | | I can show you the code Pretty, with proper whitespace Tell me, coder, now when did You last write readable code? I can open your eyes Make you see your bad indent Force you to respect the style The core devs agreed upon A whole new world A new fantastic code format A de facto standard With some sugar Enforced with clang-format A whole new world A dazzling style we all dreamed of And when we read it through It's crystal clear That now we're in a whole new world of code
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-051-0/+188
The other subfolders of tools/ had already been moved to either editor/, misc/ or thirdparty/, so the hiding the editor code that deep was no longer meaningful.