Commit Graph

136 Commits

Author SHA1 Message Date
Saracen e5f210693c Fixed flag for importing animation and skipping value tracks.
(cherry picked from commit 0063471edd)
2016-11-15 08:28:26 +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 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
volzhs 9b71cae50f Add option for root node name on Import 3D scene window
(cherry picked from commit dd04ac7ba9)
2016-10-17 20:50:20 +02:00
Pedro J. Estébanez de13e52b9b Respect texture .flags files on export
(cherry picked from commit 11cbbeb17e)
2016-10-09 17:24:10 +02:00
Rémi Verschelde 308d405c31 Turn some prints to error logs, remove others
Fixes #5876 in passing.
2016-07-24 00:02:19 +02:00
Rémi Verschelde 4f9dea3aed Revert "Change default extension to .tscn when import 3d scene"
Also adds a comment as to why this extension should not be changed.
This commit reverts edf7082326.
2016-07-18 21:32:10 +02:00
volzhs edf7082326 Change default extension to .tscn when import 3d scene 2016-07-18 23:28:13 +09:00
Rémi Verschelde 22419082d9 Remove some noisy debug prints
Part of #5031
2016-07-17 18:25:21 +02:00
Saracen ca866803be Removes AnimationPlayer renaming on import. 2016-07-13 16:45:53 +01:00
Juan Linietsky 90f8a3bd29 properly generate tangents only upon request, closes #5580 2016-07-09 11:53:27 -03:00
Rémi Verschelde 454b210242 Remove unused variables (third pass) + dead code
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:16:21 +02:00
Juan Linietsky 54571e94ac Fixes to import plugin, closes #5318 2016-06-30 22:37:25 -03:00
Juan Linietsky fbdb7a947b Editor properly reloads scenes if they changed on disk or were reimported 2016-06-28 18:53:31 -03:00
Juan Linietsky 33f1204dc4 Fix error reporting when a scene is not imported properly, closes #3968 2016-06-26 15:37:39 -03:00
Juan Linietsky 3edf66477a Fixed error using the same atlas rect for all images, closes #4139 2016-06-21 20:51:41 -03:00
Juan Linietsky ae85543806 Ability to premultiply alpha on font import, fixes #5231 2016-06-21 10:41:56 -03:00
Rémi Verschelde 17f7065944 i18n: Improve a couple English strings 2016-06-20 08:08:23 +02:00
Juan Linietsky 0db02f26b6 -Added options for scene import plugin to keep materials and user-added tracks to animations, please test! closes #4425 2016-06-20 00:20:30 -03:00
Paulb23 0454e1d6cb Made .fnt warning translatable 2016-06-19 14:33:42 +01:00
Rémi Verschelde 174b78119b Merge pull request #5039 from jay3d/master
Add "-rigid" postfix import feature to create rigid bodies
2016-06-19 12:43:49 +02:00
Rémi Verschelde bd79aa52ab Merge pull request #4158 from Paulb23/add_fnt_extension_issue_162
Adds .fnt extension if not provided, issue #162
2016-06-19 01:04:46 +02:00
Rémi Verschelde a7fc04626a Add missing license headers in our source files (#5255)
Also removes a couple wrong Godot headers from third-party source files.
2016-06-18 14:46:12 +02:00
jay3d 6b74e43a5b Add "-rigid" postfix import feature to create rigid bodies 2016-06-18 02:40:25 -04:00
Juan Linietsky 816b3fa94d It is now possible to set a default custom theme, whether you want a hidpi default theme, or just use a custom font for the default theme 2016-06-16 20:05:22 -03:00
Geequlim 1a99c5bad8 Fix endless reimporting for LargeTexture close #5215 2016-06-15 12:28:05 +08:00
Pawel Kowal 101e0c9ec6 Improved Blender/Collada shadeless->unshaded import 2016-06-07 22:07:48 +02:00
Rémi Verschelde a21eb2b89d Merge pull request #5057 from pkowal1982/master
Improved Blender/Collada -colonly import creating collision shapes fo…
2016-06-07 13:22:00 +02:00
Pawel Kowal 494847f0d1 Improved Blender/Collada -colonly import creating collision shapes for empties 2016-06-05 20:59:21 +02:00
Saracen 1dab0aab7c Bitmask import plugin 2016-06-05 19:14:39 +01:00
volzhs ee7d94bf11 fix invalid texture plugin name
EditorTextureImportPlugin had ``texture_2d``, ``texture_3d``, ``texture_atlas`` and ``larget_texture``.
These are now just ``texture``.
2016-06-02 22:13:55 +09:00
DimOkGamer 0fc4f1bcf4 Added more translatable strings in code. Updated template tools.pot.
also improved Russian localization.
2016-05-30 21:47:53 +03: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
George Marques e623a50be6
Remove translatable strings in comments 2016-05-29 18:37:49 -03:00
Geequlim cb05e8450d Set more visible string to translatable 2016-05-29 16:10:23 +08: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
Rémi Verschelde be053e6286 i18n: Use %d instead of %i in vformat
Fixes #4742.
2016-05-21 16:34:56 +02:00
Rémi Verschelde 00d8f86044 i18n: Second pass at proofreading
Mostly removing commented out strings, plus a few critical ones
that should not be translated.
2016-05-21 01:27:27 +02:00
Rémi Verschelde 94c34ff890 i18n: Proofreading of all strings
Done to ensure that no important identifiers are translatable,
to fix compound strings using the new vformat() function, and
some general English proofreading here and there.
2016-05-21 00:21:57 +02:00
Wilhem Barbier f38473f65b Check the save path before importing a 3D Mesh 2016-05-18 20:55:24 +02:00
Rémi Verschelde fb277dbde6 i18n: Don't make print_line calls translatable 2016-05-04 15:28:37 +02:00
Juan Linietsky 567cb691ec Modified editor strings to be translatable in the future 2016-05-03 22:25:37 -03:00
volzhs b172cb524d Allow any directory for custom character set and gradient image file when import font
fix #4486
2016-05-01 16:59:46 +09:00
Juan Linietsky 0fa588a830 move Font to BitmapFont
so we can add DynamicFont later..
2016-04-28 22:21:36 -03:00
volzhs 86c6326057 correct typo "overwrite" 2016-04-14 20:52:30 +09:00
Paulb23 681969d5b3 Adds .fnt extension if not provided, issue 162 2016-03-27 18:24:28 +01:00
Hubert Jarosz 4a4f247914
remove trailing whitespace 2016-03-09 00:00:52 +01:00
Juan Linietsky 6fc1c3a4d1 Completed the support for plugins! It is not possible to add plugins.
Not all APIs are provided yet, please request whathever you are missing.
Some example plugins are provided in demos/plugins. Just copy them to a folder in your project named addons/ and then enable them from the project settings.
Have fun!
2016-02-27 23:12:27 -03:00
Juan Linietsky e46ffe5c66 -fixed more issues resampling sounds 2016-02-11 11:29:29 -03:00