summaryrefslogtreecommitdiff
path: root/tools/editor/plugins
AgeCommit message (Collapse)Author
2017-01-21Remove Quick Filter Files and fix FS search hotkeyRémi Verschelde
The new Quick Filter Files behaviour since 8b47e26 had not been implemented, so this implements it and makes it an editor hotkey instead of a menu entry. Fixes #7582.
2017-01-20Merge pull request #7528 from tagcup/real_t_float_fixesJuan Linietsky
Use real_t rather than float or double in generic functions (core/mat…
2017-01-192D Editor: Don't show lock icons for hidden nodes.Andreas Haas
Now we only draw those icons for visible Nodes. Fixes #7518
2017-01-16Overloaded basic math funcs (double and float variants). Use real_t rather ↵Ferenc Arn
than float or double in generic functions (core/math) whenever possible. Also inlined some more math functions.
2017-01-17Change camera default rotationvolzhs
2017-01-16Style: Fix statements ending with ';;'Rémi Verschelde
2017-01-16Style: No break before list braceRémi Verschelde
clang-format does not handle that well *at all*. For the reference, found the relevant pieces of code with: `ag "=[ "$'\t'"]?"$'\n'"[ "$'\t'"]?{" --ignore=thirdparty`
2017-01-16Style: Cleanups, added headers, renamed filesRémi Verschelde
Made sure files in core/ and tools/ have a proper Godot license header when written by us. Also renamed aabb.{cpp,h} and object_type_db.{cpp,h} to rect3.{cpp,h} and class_db.{cpp,h} respectively. Also added a proper header to core/io/base64.{c,h} after clarifying the licensing with the original author (public domain).
2017-01-15Oops! Audio engine has vanished :DJuan Linietsky
2017-01-152D and 3D viewport are working again :DJuan Linietsky
2017-01-14no more errors related to missing GlobalConfig::Get (or so I hope)Juan Linietsky
2017-01-15Allow closing a script tab without savingWilhem Barbier
2017-01-15Merge pull request #7515 from kbake/issue7433Rémi Verschelde
Use Animation's Name as Filename When Saving
2017-01-14Merge pull request #6519 from RandomShaper/enhance-tilesetJuan Linietsky
Add modulate (color) to TileSet tiles
2017-01-14Will now try to use the existing animation's name for filename, defaults to ↵kbake
previous value in case there's no name
2017-01-14removed duplicated functions in class hierarchy that were bound more than onceJuan Linietsky
added a check to detect this case in the future
2017-01-14Style: Fix whole-line commented codeRémi Verschelde
They do not play well with clang-format which aligns the `//` part with the rest of the code block, thus producing badly indented commented code.
2017-01-14Finish renaming *Frame GUI classes to *RectRémi Verschelde
ReferenceFrame had been overlooked, and the cpp files still used the old names. Also ripgrep'ed it all to find some forgotten references.
2017-01-14rename String.extension() -> String.get_extension() / String.basename() -> ↵Juan Linietsky
String.get_basename()
2017-01-13Vector2.get_aspect() renamed to Vector2.aspect() to keep consistent method ↵Juan Linietsky
naming
2017-01-13renamed tween animationplayer scale functions to speed_scaleJuan Linietsky
2017-01-13Reenable node name case setting + code cleanupsRémi Verschelde
The method _generate_serial_child_name is indeed called relatively often in editor mode, but that commented out code chunk hardly adds to its slowness (and with the default setting, not at all). Also did various related code cleanups and simplifications.
2017-01-13New API for visibility in both CanvasItem and SpatialJuan Linietsky
visible (property) - access set_visible(bool) is_visible() is_visible_in_tree() - true when visible and parents visible show() hide() - for convenience
2017-01-12some class renamesJuan Linietsky
TextureFrame -> TextureRect Patch9Frame -> NinePatchRect ColorFrame -> ColorRect
2017-01-12Fix current script background colorPaulb23
2017-01-12Renamed most signals so they refer to:Juan Linietsky
-An action being requested to the user in present tense: (ie, draw, gui_input, etc) -A notification that an action happened, in past tense (ie, area_entered, modal_closed, etc).
2017-01-11Type renames:Juan Linietsky
Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
2017-01-10Merge pull request #7445 from tagcup/2d_math_fixesJuan Linietsky
Various corrections in 2D math.
2017-01-10Merge pull request #7438 from tagcup/matrix3_rotate_fixJuan Linietsky
Fix the order in which additional transformations are applied
2017-01-10Various corrections in 2D math.Ferenc Arn
This is the follow up for the 2D changes mentioned in PR #6865. It fixes various mistakes regarding the order of matrix indices, order of transformation operations, usage of atan2 function and ensures that the sense of rotation is compatible with a left-handed coordinate system with Y-axis pointing down (which flips the sense of rotations along the z-axis). Also replaced float with real_t, and tried to make use of Matrix32 methods rather than accessing its elements directly. Affected code in the Godot code base is also fixed in this commit. The user code using functions involving angles such as atan2, angle_to, get_rotation, set_rotation will need to be updated to conform with the new behavior. Furthermore, the sign of the rotation angles in existing 2D scene files need to be flipped as well.
2017-01-10Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a ↵Juan Linietsky
container!
2017-01-10Groundbreaking!! Godot resources can now be flagged to be local to the scene ↵Juan Linietsky
being edited! This means that each time this scene is instanced, the resource will be unique! As such, thanks to this, the following features were implemented: -ButtonGroup is no longer a control, it's now a resource local to the scene -ViewportTexture can be created from the editor and set to any object, making ViewportSprite and other kind of nodes obsolete!
2017-01-09-All types have editable script now in propertiesJuan Linietsky
-Changed clip to a property in Control which can be set by the user
2017-01-09Merge pull request #7458 from bojidar-bg/right-click-menuRémi Verschelde
Fix #7455 - script text editor's right click menu being weird
2017-01-08-removed stop mouse and ignore mouse from control, which were confusing, ↵Juan Linietsky
replaced by mouse filter
2017-01-08Removed ratio anchoring (will have to fix multiple 3D views later..)Juan Linietsky
2017-01-08PopupMenu now emits both index_pressed and id_pressed instead of ↵Juan Linietsky
item_pressed, closes #3188
2017-01-08renamed _input_event for GUI events to _gui_input, so it's more ↵Juan Linietsky
differentiated than generalized _input
2017-01-08Fix the order in which additional transformations are applied in Matrix3 and ↵Ferenc Arn
Transform. This is a part of the breaking changes proposed in PR #6865, solving the issue regarding the order of affine transformations described in #2565. This PR also fixes the affected code within Godot codebase. Includes improvements to documentation too. Another change is, Matrix3::get_scale() will now return negative scaling when the determinant of the matrix is negative. The rationale behind this is simple: when performing a polar decomposition on a basis matrix M = R.S, we have to ensure that the determinant of R is +1, such that it is a proper rotation matrix (with no reflections) which can be represented by Euler angles or a quaternion. Also replaced the few instances of float with real_t in Matrix3 and Transform. Furthermore, this PR fixes an issue introduced due to the API breakage in #6865. Namely Matrix3::get_euler() now only works with proper rotation matrices. As a result, the code that wants to get the rotation portion of a transform needs to use Matrix3::get_rotation() introduced in this commit, which complements Matrix3::get_scaled(), providing both parts of the polar decomposition. Finally, it is now possible to construct a rotation matrix from Euler angles using the new constructor Matrix3::Matrix3(const Vector3 &p_euler).
2017-01-07Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky
renamed to PoolVector
2017-01-07Fix #7455 - script text editor's right click menu being weirdBojidar Marinov
2017-01-05Editor settings categories are now tidy and beautiful!Juan Linietsky
2017-01-05-Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky
categories. -Changed SectionedPropertyEditor to support this -Renamed Globals singleton to GlobalConfig, makes more sense. -Changed the logic behind persisten global settings, instead of the persist checkbox, a revert button is now available
2017-01-04-GDScript support for accessing properties directlyJuan Linietsky
-Added code lookup and code completion support for properties too
2017-01-04Merge branch 'master' of https://github.com/godotengine/godotJuan Linietsky
2017-01-04-Conversion of most properties to a simpler syntax, easier to use by scriptJuan Linietsky
-Modified help to display properties GDScript can still not make use of them, though.
2017-01-03Use right handed coordinate system for rotation matrices and quaternions. ↵Ferenc Arn
Also fixes Euler angles (XYZ convention, which is used as default by Blender). Furthermore, functions which expect a rotation matrix will now give an error simply, rather than trying to orthonormalize such matrices. The documentation for such functions has be updated accordingly. This commit breaks code using 3D rotations, and is a part of the breaking changes in 2.1 -> 3.0 transition. The code affected within Godot code base is fixed in this commit.
2017-01-03Begin modifying properties to make them more friendly to script and doc.Juan Linietsky
2017-01-02ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky
Variant. All usages of "type" to refer to classes were renamed to "class" ClassDB has been exposed to GDScript. OBJ_TYPE() macro is now GDCLASS()
2017-01-02Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde
Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)