aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins (follow)
Commit message (Collapse)AuthorAgeFilesLines
...
* | Merge pull request #7445 from tagcup/2d_math_fixesJuan Linietsky2017-01-101-8/+4
|\ \ | | | | | | Various corrections in 2D math.
| * | Various corrections in 2D math.Ferenc Arn2017-01-101-8/+4
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | Merge pull request #7438 from tagcup/matrix3_rotate_fixJuan Linietsky2017-01-102-20/+10
|\ \ \ | | | | | | | | Fix the order in which additional transformations are applied
| * | | Fix the order in which additional transformations are applied in Matrix3 and ↵Ferenc Arn2017-01-082-20/+10
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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).
* | | | Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a ↵Juan Linietsky2017-01-1011-13/+13
| | | | | | | | | | | | | | | | container!
* | | | Groundbreaking!! Godot resources can now be flagged to be local to the scene ↵Juan Linietsky2017-01-103-7/+15
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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!
* | | | -All types have editable script now in propertiesJuan Linietsky2017-01-094-4/+6
| | | | | | | | | | | | | | | | -Changed clip to a property in Control which can be set by the user
* | | | Merge pull request #7458 from bojidar-bg/right-click-menuRémi Verschelde2017-01-091-8/+9
|\ \ \ \ | | | | | | | | | | Fix #7455 - script text editor's right click menu being weird
| * | | | Fix #7455 - script text editor's right click menu being weirdBojidar Marinov2017-01-071-8/+9
| | |/ / | |/| |
* | | | -removed stop mouse and ignore mouse from control, which were confusing, ↵Juan Linietsky2017-01-081-1/+1
| | | | | | | | | | | | | | | | replaced by mouse filter
* | | | Removed ratio anchoring (will have to fix multiple 3D views later..)Juan Linietsky2017-01-081-22/+22
| | | |
* | | | PopupMenu now emits both index_pressed and id_pressed instead of ↵Juan Linietsky2017-01-0824-44/+44
| | | | | | | | | | | | | | | | item_pressed, closes #3188
* | | | renamed _input_event for GUI events to _gui_input, so it's more ↵Juan Linietsky2017-01-0846-81/+81
| | | | | | | | | | | | | | | | differentiated than generalized _input
* | | | Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-0726-139/+139
|/ / / | | | | | | | | | renamed to PoolVector
* | | Editor settings categories are now tidy and beautiful!Juan Linietsky2017-01-0516-156/+156
| | |
* | | -Changed most project settings in the engine, so they have major and minor ↵Juan Linietsky2017-01-055-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | 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
* | | -GDScript support for accessing properties directlyJuan Linietsky2017-01-041-2/+6
|/ / | | | | | | -Added code lookup and code completion support for properties too
* | Merge branch 'master' of https://github.com/godotengine/godotJuan Linietsky2017-01-046-24/+24
|\ \
| * | Use right handed coordinate system for rotation matrices and quaternions. ↵Ferenc Arn2017-01-036-24/+24
| | | | | | | | | | | | | | | | | | | | | | | | 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.
* | | -Conversion of most properties to a simpler syntax, easier to use by scriptJuan Linietsky2017-01-0413-152/+152
|/ / | | | | | | | | | | -Modified help to display properties GDScript can still not make use of them, though.
* | Begin modifying properties to make them more friendly to script and doc.Juan Linietsky2017-01-031-1/+1
| |
* | ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-0283-512/+512
| | | | | | | | | | | | | | | | 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()
* | Merge remote-tracking branch 'origin/gles3' into gles3-on-masterRémi Verschelde2017-01-0233-260/+379
|\ \ | | | | | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * | WIP particle systemJuan Linietsky2017-01-011-0/+11
| | | | | | | | | | | | | | | | | | Ability to enable and change MSAA settings Ability to change VCT quality Ability to enable/disable HDR rendering
| * | put some limits to max ubo sizes to avoid crashesJuan Linietsky2016-12-231-1/+0
| | |
| * | baking now shows a proper button, and bakes can be saved.Juan Linietsky2016-12-232-0/+95
| | |
| * | Blend shapes using transform feedback (GPU)Juan Linietsky2016-11-241-0/+2
| | |
| * | Instancing is working! (hooray)Juan Linietsky2016-11-221-2/+6
| | |
| * | all light types and shadows are working, pending a lot of clean-upJuan Linietsky2016-11-091-0/+14
| | |
| * | -Many many fixesJuan Linietsky2016-10-292-4/+7
| | | | | | | | | | | | -Gizmos work again
| * | PBR more or less working, still working on bringing gizmos backJuan Linietsky2016-10-277-59/+55
| | |
| * | Everything returning to normal in 3D, still a long way to goJuan Linietsky2016-10-191-0/+1
| | | | | | | | | | | | -implemented the scene part of visual server and rasterizer, objects without lighting and material are rendererd only
| * | -the new shader language seems to workJuan Linietsky2016-10-072-166/+93
| | | | | | | | | | | | | | | -shader editor plugin can edit shaders -code completion in shader editor plugin
| * | -Added ViewportContainer, this is the only way to make viewports show up in ↵Juan Linietsky2016-10-053-4/+5
| | | | | | | | | | | | | | | | | | | | | GUI now -2D editing now seems to work -Added some functions and refactoring to Viewport
| * | Begining of GLES3 renderer:Juan Linietsky2016-10-0328-79/+114
| | | | | | | | | | | | | | | | | | | | | | | | -Most 2D drawing is implemented -Missing shaders -Missing all 3D -Editor needs to be set on update always to be used, otherwise it does not refresh -Large parts of editor not working
* | | Merge pull request #7401 from Zylann/bucket_fill_previewRémi Verschelde2017-01-022-9/+89
|\ \ \ | | | | | | | | Bucket fill preview
| * | | Added option to toggle bucket fill previewMarc Gilleron2016-12-311-2/+3
| | | |
| * | | Added bucket fill previewMarc Gilleron2016-12-312-8/+87
| | | |
* | | | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-0179-79/+79
|/ / / | | | | | | | | | | | | | | | | | | | | | That year should bring the long-awaited OpenGL ES 3.0 compatible renderer with state-of-the-art rendering techniques tuned to work as low as middle end handheld devices - without compromising with the possibilities given for higher end desktop games of course. Great times ahead for the Godot community and the gamers that will play our games!
* | | TextureRegionEditor: Fix mouse wheel scroll speed.Andreas Haas2016-12-031-2/+2
| | | | | | | | | | | | | | | | | | Any given mouse wheel input will generate two InputEvents in godot. The zoom methods here acted on both ones, effectively giving a step value of 4 instead of 2. Fixes #7236
* | | Fix snap mode selector sticking in texture region moduleDmitry Kram2016-11-271-1/+1
| | | | | | | | | | | | When changing snap mode in texture region plugin ticks was not updating. Issue fixed changing order of setting checked status and setting snap mode.
* | | Added snapping to 3D path handles to bring it in line with its 2D counterpartBen Hickling2016-11-141-0/+6
| | |
* | | Prevent to select children if selection lock or instanced scenevolzhs2016-11-121-7/+14
| | | | | | | | | | | | Fix #7086
* | | Made background and symbol color follow the color APIPaulb232016-11-062-12/+4
| | |
* | | style: Fix PEP8 whitespace issues in Python filesRémi Verschelde2016-11-011-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Done with `autopep8 --select=E2,W2`, fixes: - E201 - Remove extraneous whitespace. - E202 - Remove extraneous whitespace. - E203 - Remove extraneous whitespace. - E211 - Remove extraneous whitespace. - E221 - Fix extraneous whitespace around keywords. - E222 - Fix extraneous whitespace around keywords. - E223 - Fix extraneous whitespace around keywords. - E224 - Remove extraneous whitespace around operator. - E225 - Fix missing whitespace around operator. - E226 - Fix missing whitespace around operator. - E227 - Fix missing whitespace around operator. - E228 - Fix missing whitespace around operator. - E231 - Add missing whitespace. - E231 - Fix various deprecated code (via lib2to3). - E241 - Fix extraneous whitespace around keywords. - E242 - Remove extraneous whitespace around operator. - E251 - Remove whitespace around parameter '=' sign. - E261 - Fix spacing after comment hash. - E262 - Fix spacing after comment hash. - E265 - Format block comments. - E271 - Fix extraneous whitespace around keywords. - E272 - Fix extraneous whitespace around keywords. - E273 - Fix extraneous whitespace around keywords. - E274 - Fix extraneous whitespace around keywords. - W291 - Remove trailing whitespace. - W293 - Remove trailing whitespace.
* | | Fix memory leak with drag & drop on 2D viewportvolzhs2016-10-311-0/+1
| | |
* | | Fix p_index out of size error when closing scriptvolzhs2016-10-311-1/+1
| | |
* | | Fix 2 search menus are shownvolzhs2016-10-311-11/+6
| | |
* | | Improve drag and drop on 2D viewportvolzhs2016-10-262-5/+452
| | |
* | | Prevent unwanted script editor input on game crashHenrique Lacreta Alves2016-10-221-0/+1
| | | | | | | | | Fixes #6530.