Commit graph

123 commits

Author SHA1 Message Date
Rémi Verschelde
eaf803f71e style: Various other PEP8 fixes in Python files
Done with `autopep8 --select=E7`, fixes:

- E701 - Put colon-separated compound statement on separate lines.
- E702 - Put semicolon-separated compound statement on separate lines.
- E703 - Put semicolon-separated compound statement on separate lines.
- E711 - Fix comparison with None.
- E712 - Fix (trivial case of) comparison with boolean.
- E713 - Fix (trivial case of) non-membership check.
- E721 - Fix various deprecated code (via lib2to3).
2016-11-02 22:30:34 +01:00
Rémi Verschelde
a7389217f8 style: Fix PEP8 blank lines issues in Python files
Done with `autopep8 --select=E3,W3`, fixes:

- E301 - Add missing blank line.
- E302 - Add missing 2 blank lines.
- E303 - Remove extra blank lines.
- E304 - Remove blank line following function decorator.
- E309 - Add missing blank line.
- W391 - Remove trailing blank lines.
2016-11-02 22:29:36 +01:00
Rémi Verschelde
e259bf8bbb style: Fix PEP8 whitespace issues in Python files
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.
2016-11-02 22:28:28 +01:00
Rémi Verschelde
561c1f17a1 style: Start applying PEP8 to Python files, indentation issues
Done with `autopep8 --select=E1`, fixes:

- E101 - Reindent all lines.
- E112 - Fix under-indented comments.
- E113 - Fix over-indented comments.
- E115 - Fix under-indented comments.
- E116 - Fix over-indented comments.
- E121 - Fix a badly indented line.
- E122 - Fix a badly indented line.
- E123 - Fix a badly indented line.
- E124 - Fix a badly indented line.
- E125 - Fix indentation undistinguish from the next logical line.
- E126 - Fix a badly indented line.
- E127 - Fix a badly indented line.
- E128 - Fix a badly indented line.
- E129 - Fix a badly indented line.
2016-11-02 22:26:55 +01:00
Rémi Verschelde
5a49e45d21 SCsub: Add python shebang as a hint for syntax highlighting
Also switch existing shebangs to "better" /usr/bin/env python.

(cherry picked from commit fc8ccd5b8c)
2016-10-30 14:51:34 +01:00
Pawel Kowal
280728c0c7 New load icon, removed unused open icon
(cherry picked from commit ed1e71a77e)
2016-10-17 20:46:34 +02:00
Daniel J. Ramirez
e26acc39da 2d collision shape icons now uses the color for shape icons
(cherry picked from commit cbad6b3fae)
2016-09-01 08:39:09 +02:00
Rémi Verschelde
2dd83e28b9 Merge pull request #5957 from djrm/new_icons
New http request and tutorials icon
2016-07-29 07:27:54 +02:00
Daniel J. Ramirez
12ddc87032 New http request and tutorials icon
Remove garbage in group icon
2016-07-28 21:09:10 -05:00
George Marques
3cdb5e0d1f
Fix editor icons source file generation
Also removes the unused make_icons.py file.
2016-07-28 21:26:21 -03:00
Daniel J. Ramirez
d49600f4a2 Modified some icons 2016-07-22 18:43:35 -05:00
Juan Linietsky
7a4d67ae71 Property convert images to RGBA before applying hq2x, fixes #5168 2016-07-18 18:30:30 -03:00
Rémi Verschelde
da034f324a Revert "Added toggle for loop interpolation based on adolson's code"
This reverts commits 8884b8f519
bd5c8f2aa0
and 5cb31f6d5b.

<reduz> Akien, I understand the need for the second loop mode, but I think
the current UI is pretty confusing. I think this should be changed for an
enum, both there and in the animation.. otherwise we should revert it
[...]
<reduz> alternatively this could be added per track, which I think should
make it a little less confusing

Reopens #959..
2016-06-26 23:45:18 +02:00
Rémi Verschelde
b02d67be30 Merge pull request #5307 from MarianoGnu/master
TextureRegion improvements
2016-06-26 09:43:45 +02:00
Daniel J. Ramirez
b8190fbef6 Added high resolution icons for the Gizmos, fixes #1638 2016-06-24 22:42:42 -05:00
MarianoGNU
38843a67a9 Chance Snap for SnapMode and add AutoSlice option. 2016-06-20 14:37:01 -03:00
Daniel J. Ramirez
07b6195a33 Added loop interpolation and track trigger icons 2016-06-19 11:36:05 -05:00
Rémi Verschelde
42cbdc26b8 Merge pull request #5290 from djrm/new_icons
Added missing icons for some nodes
2016-06-19 13:11:07 +02:00
Rémi Verschelde
3520902194 Merge pull request #4724 from Cybolic/optional-loop-interpolation
Added toggle for loop interpolation based on adolson's code
2016-06-19 12:30:22 +02:00
Daniel J. Ramirez
939ec36930 Added missing icons for some nodes 2016-06-18 21:33:00 -05:00
Rémi Verschelde
41677df7cf Merge pull request #5218 from djrm/new_icons
Some theme icons and better exporter
2016-06-15 13:43:56 +02:00
Daniel J. Ramirez
0537709b39 Added zoom icons for graph edit, and removed old exporter 2016-06-14 21:41:20 -05:00
Ovnuniarchos
3c09682417 New Shape2D* icons. 2016-06-13 23:25:52 +02:00
Juan Linietsky
c170589929 -properly use hidpi icons in hidpi, looks pretty! 2016-06-08 17:49:06 -03:00
Juan Linietsky
1f2ad872cc Fixed some options in assetlib 2016-06-08 10:17:16 -03:00
Juan Linietsky
b847aec864 Added asset library on project manager for templates 2016-06-08 09:25:47 -03:00
Daniel J. Ramirez
1d6b0836d3 Regenerated icons with the new faster exporter, Added and fixed some icons 2016-06-08 01:32:09 -05:00
Daniel J. Ramirez
a4fd9d1662 listener icons 2016-06-07 13:41:05 -05:00
Juan Linietsky
06bc4e20d3 Merge pull request #4101 from SaracenOne/listener
Added New Listener Spatial Node.
2016-06-06 22:13:23 -03:00
Daniel J. Ramirez
bf4d749f10 Fixed some icons given the feedback, also added some missing icons 2016-06-06 16:40:59 -05:00
Saracen
3a21f98131 Fixed bottom left and right icon order for anchor editor. 2016-06-06 19:38:49 +01:00
Daniel J. Ramirez
7398d696d0 Added missing icons for some nodes, changed instance icons 2016-06-05 12:53:01 -05:00
Daniel J. Ramirez
4389388d4e Added 2x PNG versions of the icons 2016-06-04 15:52:35 -05:00
Daniel J. Ramirez
50fd5edb9e Added basic script to convert source svgs to pngs 2016-06-04 14:42:43 -05:00
Daniel J. Ramirez
2ddaf41777 New icons, almost all the icons have an svg version, plus a more consistent look 2016-06-04 14:01:36 -05:00
Juan Linietsky
3ae61f2292 Created a NodeDock with signals and groups 2016-06-04 13:19:08 -03:00
Juan Linietsky
26332479d3 Signals became a tab
added icons to contextual scene tree menu
2016-06-03 21:03:22 -03:00
Rémi Verschelde
97b116dfc6 Merge pull request #4897 from djrm/svg_icons
Added first batch of svg icons
2016-05-30 23:27:37 +02:00
Daniel J. Ramirez
72c0d6d706 Second batch of icons 2016-05-29 23:43:49 -05:00
Juan Linietsky
cf3575e0b4 Merge branch 'master' of https://github.com/godotengine/godot 2016-05-30 00:29:36 -03:00
Juan Linietsky
9b1f8230ec -Some fixes to OSX retina scaling for window functions
-Implemented HiDPI detection and support for Godot Editor!
2016-05-30 00:28:29 -03:00
Daniel J. Ramirez
7dd0b5857a Added first batch of svg icons 2016-05-29 21:30:37 -05:00
Rémi Verschelde
e6e878e139 Icon: Remove more grey capsules behind official logo 2016-05-30 00:41:42 +02:00
Juan Linietsky
3e8eb396d7 Finalized DynamicFont implementation
-DynamicFont uses Freetype by default
-Editor fonts are now scalable thanks to this
-Cleaned up documentation browser and added fonts for this
2016-05-29 11:37:52 -03:00
Juan Linietsky
8be2fabbe5 Changed import workflow
-Rearrange favorites in fs dock with drag and drop
-Removed import -> sub-scene, moved to scenetree contextual menu
-Removed import -> re-import , moved and integrated to FS dock
-Added ability in FS dock to re-import more than one resource
simultaneously
-Added ability to drag from native filesystem explorer to Godot, only
works on Windows though
-Removed scene reimport merge options, never worked well. Eventually
merging materials should be re-added
-Added ability to set custom root node type when importing scenes
-Re-Import is now automatic, can be configured back to manual in editor
settings
-Added resource previews in property list for many resource types
2016-05-27 14:19:11 -03:00
Juan Linietsky
d3495b128a -Improve resource previews
-Also fixed draw_texture_rect() tile parameter
2016-05-23 17:11:49 -03:00
Christian Dannie Storgaard
8884b8f519 Added toggle for loop interpolation based on adolson's code 2016-05-20 13:13:32 +03:00
Juan Linietsky
c195c0df6b -Added configuration warning system for nodes
-Added a new "add" and "instance" buttons for scene tree
-Added a vformat() function to ease translation work
2016-05-17 18:28:44 -03:00
Juan Linietsky
5bb7cef836 Support for dynamic fonts (TTF)
Added support for DynamicFont, which can load a TTF of any size to use
as a font. No import required.
2016-05-01 23:13:06 -03:00
Juan Linietsky
0fa588a830 move Font to BitmapFont
so we can add DynamicFont later..
2016-04-28 22:21:36 -03:00