Commit graph

4809 commits

Author SHA1 Message Date
Kyle Luce
605193b22f Conversion function for screen coords to local Canvas coords
- Useful if you need to Convert screen coords to the coordinate space of a
  CanvasItem, but don't have an associated InputEvent to use in
  #make_event_local.

For example, if you have a particular point on the screen you'd like to project
into World Space, for various reasons, you would use this function on the root
of the scene. This is analogous to ray casting from screen space in 3D.
2016-07-10 16:06:57 -07:00
Juan Linietsky
864c0e84de line/col label was changing size with each cursor move, forcing the GUI to resize upwards and costing considerably CPU usage.
It has been changed so it won't resize the UI when modified.
This will make the code editor feel a lot smoother.
2016-07-09 14:56:08 -03:00
Rémi Verschelde
d23d40cfbd Merge pull request #5612 from TheHX/collision-polygon-plugin
Fix CollisionPolygon gizmo showing error icons instead of the 3d handles
2016-07-09 18:27:29 +02:00
Franklin Sobrinho
7cad11e108 Fix CollisionPolygon gizmo showing error icons instead of the 3d handles 2016-07-09 13:18:16 -03:00
Juan Linietsky
1d6be8b00d Changed tree so shift-selection skips folded children, closes #5515 2016-07-09 13:15:45 -03:00
Rémi Verschelde
48bdaaa560 Merge pull request #5609 from eska014/help-search-titles
Fix help search dialog titles
2016-07-09 18:15:02 +02:00
Juan Linietsky
920310e72a removed target_fps option, moved it to debug (it makes no sense for games). Added a frame_delay option for games that don't want to use the CPU fully. 2016-07-09 12:34:30 -03:00
Juan Linietsky
b0f0ae0723 Finally fixes the infamous bug #4444, hoping to never see you again.
Closes #4444.
2016-07-09 12:12:03 -03:00
Juan Linietsky
90f8a3bd29 properly generate tangents only upon request, closes #5580 2016-07-09 11:53:27 -03:00
Juan Linietsky
2980b27bef do not show help on multi node selection, array editing, etc, closes #5550 2016-07-09 11:46:59 -03:00
Juan Linietsky
15d52d6c95 Cleaned up preview generation thread, fixes #5499 2016-07-09 11:20:40 -03:00
eska
af395cea42 Fix help search dialog titles 2016-07-09 16:12:15 +02:00
Rémi Verschelde
dd01286137 Regenerate hardcoded Godot icon to match current one
Used `xxd -i icon64.png data.h` to get the raw array from a 64x64 export
of the SVG icon. Also improved the formatting of the splash array to avoid
having 65k char-long lines.
2016-07-09 16:05:00 +02:00
Rémi Verschelde
3a70d4a072 Merge pull request #5589 from akien-mga/pr-unused-var
Removing some more unused vars and dead code
2016-07-09 14:33:30 +02:00
Rémi Verschelde
0e119a9164 Merge pull request #5480 from paper-pauper/blender-flake8
Made Better Collada Exporter flake8-compliant
2016-07-09 12:35:34 +02:00
Nobody Really
c973f3a1da Flake8 compliance (except for unused variables) 2016-07-09 12:25:21 +02:00
Nobody Really
52fdc65a5d Comma fix 2016-07-09 12:10:36 +02:00
Nobody Really
7de55b86c1 Whitespace fix 2016-07-09 12:00:32 +02:00
George Marques
4bf31b3f3d
Revert removing of function call in gd_parser
The function call was removed in #5538 because of the unused return value,
but the function itself has side effects and the absence of the call was
causing crashes.
2016-07-08 22:12:59 -03:00
Rémi Verschelde
ca009ac4af Merge pull request #5602 from akien-mga/pr-osx-fat-export
OSX export: Default to fat format, make it an enum
2016-07-09 00:58:15 +02:00
Rémi Verschelde
02aeac12d1 OSX export: Default to fat format, make it an enum
Since we want to distribute only the fat binary in the official templates, this should
make it work out of the box. 32 bits and 64 bits options are still available for people
that want them, but will throw an error if the binaries are not in the template zip.
2016-07-09 00:46:10 +02:00
Rémi Verschelde
69c8b583e7 classref: Add docs for InputEvent* and InputMap 2016-07-08 23:41:07 +02:00
Rémi Verschelde
a15de80942 classref: Fix arg name for is_action_pressed/released
Also position TEXTURE_SPHERE constant properly.
2016-07-08 23:40:43 +02:00
Rémi Verschelde
288355afe9 classref: Fix descriptions indentation after #5588 2016-07-08 22:55:14 +02:00
Rémi Verschelde
78601c8434 Merge pull request #5601 from eska014/emscripten-mouse-pos
Fix Input singleton mouse position in web export
2016-07-08 21:26:30 +02:00
eska
4beeff9433 Pass mouse position to Input singleton in web export 2016-07-08 20:09:25 +02:00
Juan Linietsky
20aee6f528 Merge pull request #5598 from TheHX/issue-5482
Fix own world option of Viewport.
2016-07-08 15:05:57 -03:00
Franklin Sobrinho
6b154c9706 Fix own world option of Viewport.
It happens when the viewport has WorldEnviroment child with a valid Enviroment
2016-07-08 14:27:19 -03:00
Rémi Verschelde
5a8335436f Merge pull request #5588 from J08nY/doctool-indentation
Doctool: change content indentation
2016-07-08 19:11:21 +02:00
Rémi Verschelde
d7dd10a1a2 Cleanup: drop ImportSettingsDialog, replaced by contextual actions
Note that it was already commented out.
2016-07-08 17:09:36 +02:00
Rémi Verschelde
f40f360a2c Remove unused variables (fourth pass) + dead code
Also fix a potential regression from 3fcb9b1ec1.
2016-07-08 16:47:55 +02:00
Juan Linietsky
7e3044981e Avoid crash if setting modifiers fails, closes #5158 2016-07-08 11:28:09 -03:00
Rémi Verschelde
dc58be9f35 ScenesDock: Fix regression in tree generation
Was a regression from 3fcb9b1ec1.
Fixes #5590.
2016-07-08 09:15:43 +02:00
Juan Linietsky
d8c31e0e74 remove warnings if a script is missing and can't be opened 2016-07-07 21:27:20 -03:00
Juan Linietsky
a1d841e6f7 do not allow removal of groups that come from instanced/inherited scene, closes #5505 2016-07-07 20:50:42 -03:00
J08nY
f5ce4e251d
Classref: update with new doctool indentation 2016-07-08 00:25:54 +02:00
J08nY
5c77abd8a8
Doctool: correct XML indentation
fixes #4483
2016-07-07 23:50:36 +02:00
Rémi Verschelde
f1e1910ae4 Merge pull request #5538 from akien-mga/pr-unused-var
Removed unused variables + dead code
2016-07-07 23:27:42 +02: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
Rémi Verschelde
3fcb9b1ec1 Removed unused variables (second pass) + dead code
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:15:59 +02:00
Rémi Verschelde
b6ac91c0e6 Removed unused variables (first pass)
Fixes various gcc 5.4.0 warnings for -Wunused-variable and -Wunused-but-set-variable
2016-07-07 23:15:03 +02:00
Rémi Verschelde
1b9433594e SceneTreeDock: Fix wrong argument in _has_visible_children
Seen while checking for unused variables, which `child` was.
2016-07-07 08:37:38 +02:00
Rémi Verschelde
779bf6eca3 Merge pull request #5577 from vnen/improve-quickopen-listing
Improve quick open sorting
2016-07-07 07:47:10 +02:00
Juan Linietsky
7c1ab42571 Fix the +1 button to insert keyframes in Sprite and Sprite3D, closes #5422 2016-07-06 23:46:04 -03:00
Juan Linietsky
17e4ead62a Fix several bugs related to node duplication and signals, closes #5405 2016-07-06 21:43:31 -03:00
Juan Linietsky
a78226c32c Only allow built-in scripts to be edited when the scene they belong to is loaded, closes #5403 2016-07-06 20:36:37 -03:00
George Marques
1bc8d1900f
Improve quick open sorting
Perfect matches and substrings will be shown first. Similar matches will
be at the bottom. When they score is the same they're shown in the natural
file system order.
2016-07-06 19:29:15 -03:00
Rémi Verschelde
e4b7a45a38 Initialize the SSL certificates in the project manager 2016-07-06 20:50:07 +02:00
Rémi Verschelde
9238de4ea9 Merge pull request #5569 from pkowal1982/capitalize
Update String.capitalize() documentation
2016-07-06 10:39:33 +02:00
Pawel Kowal
fe49b71804 Update String.capitalize() documentation 2016-07-06 10:33:27 +02:00