aboutsummaryrefslogtreecommitdiff
path: root/tools/editor/plugins/polygon_2d_editor_plugin.cpp (follow)
Commit message (Collapse)AuthorAgeFilesLines
* Refactoring: rename tools/editor/ to editor/Rémi Verschelde2017-03-051-1028/+0
| | | | | | 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.
* Various fixes detected using PVS-Studio static analyzer.Thaer Razeq2017-02-281-1/+1
| | | | | | | - Add FIXME tags comments to some unfixed potential bugs - Remove some checks (always false: unsigned never < 0) - Fix some if statements based on reviews. - Bunch of missing `else` statements
* Rename the _MD macro to D_METHODHein-Pieter van Braam2017-02-131-13/+13
| | | | | | This new name also makes its purpose a little clearer This is a step towards fixing #56
* Style: Cleanups, added headers, renamed filesRémi Verschelde2017-01-161-1/+1
| | | | | | | | | 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).
* some class renamesJuan Linietsky2017-01-121-1/+1
| | | | | | TextureFrame -> TextureRect Patch9Frame -> NinePatchRect ColorFrame -> ColorRect
* Type renames:Juan Linietsky2017-01-111-5/+5
| | | | | | | | | | | | Matrix32 -> Transform2D Matrix3 -> Basis AABB -> Rect3 RawArray -> PoolByteArray IntArray -> PoolIntArray FloatArray -> PoolFloatArray Vector2Array -> PoolVector2Array Vector3Array -> PoolVector3Array ColorArray -> PoolColorArray
* Removed the set_child_rect() in AcceptDialog. AcceptDialog now works as a ↵Juan Linietsky2017-01-101-1/+1
| | | | container!
* -All types have editable script now in propertiesJuan Linietsky2017-01-091-1/+2
| | | | -Changed clip to a property in Control which can be set by the user
* PopupMenu now emits both index_pressed and id_pressed instead of ↵Juan Linietsky2017-01-081-2/+2
| | | | item_pressed, closes #3188
* renamed _input_event for GUI events to _gui_input, so it's more ↵Juan Linietsky2017-01-081-2/+2
| | | | differentiated than generalized _input
* Memory pool vectors (DVector) have been enormously simplified in code, and ↵Juan Linietsky2017-01-071-13/+13
| | | | renamed to PoolVector
* Editor settings categories are now tidy and beautiful!Juan Linietsky2017-01-051-1/+1
|
* -Conversion of most properties to a simpler syntax, easier to use by scriptJuan Linietsky2017-01-041-14/+14
| | | | | | -Modified help to display properties GDScript can still not make use of them, though.
* ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to ↵Juan Linietsky2017-01-021-14/+14
| | | | | | | | 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-021-1/+1
|\ | | | | | | | | Various merge conflicts have been fixed manually and some mistakes might have been made - time will tell :)
| * Begining of GLES3 renderer:Juan Linietsky2016-10-031-1/+1
| | | | | | | | | | | | | | | | -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
* | Welcome in 2017, dear changelog reader!Rémi Verschelde2017-01-011-1/+1
|/ | | | | | | | 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!
* Removed unused variables (second pass) + dead codeRémi Verschelde2016-07-071-2/+0
| | | | Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
* Add missing license headers in our source files (#5255)Rémi Verschelde2016-06-181-1/+1
| | | Also removes a couple wrong Godot headers from third-party source files.
* i18n: Second pass at proofreadingRémi Verschelde2016-05-211-3/+3
| | | | | Mostly removing commented out strings, plus a few critical ones that should not be translated.
* Modified editor strings to be translatable in the futureJuan Linietsky2016-05-031-25/+25
|
* remove trailing whitespaceHubert Jarosz2016-03-091-2/+2
|
* -Fix global transform cache not being cleared in 2D nodes, fixes many editor ↵Juan Linietsky2016-01-021-1/+0
| | | | bugs, closes #2115
* Update copyright to 2016 in headersGeorge Marques2016-01-011-1/+1
|
* Fix issue #1275Franklin Sobrinho2015-11-021-5/+6
|
* Add SpriteRegionEditor and update Polygon2DUVEditorMarianoGNU2015-09-281-3/+154
| | | | Both with snap and grid support
* Updated copyright year in all headersJuan Linietsky2015-04-181-1/+1
|
* Changed popup_centered by popup_centered_minsize in editor dialogsFranklin Sobrinho2015-04-081-1/+1
|
* Better 2D SnappingCarl Olsson2015-02-151-13/+2
| | | | | | | | | Consolidated duplicate snapping functions into CanvasItemEditor. Allow non-square grids. Add grid origin offsets. Allow seperate toggling of grid display. Add rotation snapping. Add offset snapping.
* Batch of BugfixesJuan Linietsky2014-12-071-0/+9
| | | | | | | | | | | | | | | | | | | | | | -=-=-=-=-=-=-=-=- -Fixed Export UV XForm (should work now). #923 -Fixed enforcement of limits in property editor. #919 -Fixed long-standing bug of export editings in script inheritance. #914, #859, #756 -Fixed horrible error reporting in shader language. #912 -Added kinematic collision with plane (please test well). #911 -Fixed double animation track insert when using 2D rigs. #904 -VKey updates offset parameter in sprite edition. #901 -Do not allow anymore a script to preload itself. (does not fix #899, but narrows it down) -Avoid connection editor from overriding selected text. #897 -Fixed timer autostart. #876 -Fixed collision layers in 3D physics. #872 -Improved operators in shader #857 -Fixed ambient lighting bug #834 -Avoid editor from processing gamepad input #813 -Added not keyword #752 Please test!
* Polygon2DJuan Linietsky2014-07-071-0/+880
-=-=-=-=- Another gift for those who make 2D games: -Edit polygons, concave or convex, color them, texture them and uv-map them -Corresponding editor -Can have a custom pivot, so they are compatible with bones and IK