Ferenc Arn
bd7ba0b664
Use right handed coordinate system for rotation matrices and quaternions. 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.
2017-01-03 17:41:04 -06:00
Juan Linietsky
3fae505128
Begin modifying properties to make them more friendly to script and doc.
2017-01-03 00:38:16 -03:00
Juan Linietsky
118eed485e
ObjectTypeDB was renamed to ClassDB. Types are meant to be more generic to 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()
2017-01-02 23:03:46 -03:00
Juan Linietsky
ce26eb74bc
Merge branch 'master' of https://github.com/godotengine/godot
2017-01-02 19:12:25 -03:00
Rémi Verschelde
3f3f5a5359
Merge remote-tracking branch 'origin/gles3' into gles3-on-master
...
Various merge conflicts have been fixed manually and some mistakes
might have been made - time will tell :)
2017-01-02 21:52:26 +01:00
Rémi Verschelde
ac04a932d6
Merge pull request #7364 from guilhermefelipecgs/fix_bottom_panel_visibility_on_play
...
Fix bottom panel visibility on play
2017-01-02 15:54:26 +01:00
Rémi Verschelde
3fc4ee6243
Merge pull request #7401 from Zylann/bucket_fill_preview
...
Bucket fill preview
2017-01-02 14:47:08 +01:00
Rémi Verschelde
3e1b5ad223
Merge pull request #7382 from volzhs/fix-visibility
...
Able to change visibility when ancestor node is hidden
2017-01-02 14:17:42 +01:00
Bruno Ortiz
7e0d0d0bb9
Exposing edit_resource method of EditorNode in the EditorPlugin ( #7355 )
2017-01-02 13:37:22 +01:00
Juan Linietsky
c2a217c350
WIP particle system
...
Ability to enable and change MSAA settings
Ability to change VCT quality
Ability to enable/disable HDR rendering
2017-01-01 22:16:52 -03:00
Rémi Verschelde
c7bc44d5ad
Welcome in 2017, dear changelog reader!
...
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!
2017-01-01 22:03:33 +01:00
Marc Gilleron
39771f22b6
Added option to toggle bucket fill preview
2016-12-31 17:56:27 +01:00
Marc Gilleron
36d0281a2b
Added bucket fill preview
2016-12-31 17:42:05 +01:00
volzhs
f33e21e7af
Show visual notice for visibility on Scene Dock
2016-12-28 22:12:08 +09:00
volzhs
792ff11642
Able to change visibility when ancestor node is hidden
2016-12-28 14:27:27 +09:00
Guilherme Felipe
faf6f865dd
Add new option to always open output on play
2016-12-24 20:39:16 -02:00
Guilherme Felipe
83b82fc267
Fix visibility of bottom panel when start playing
2016-12-24 19:52:43 -02:00
Rémi Verschelde
d1e3c0f017
Merge pull request #7347 from bebae/master
...
Allows to start the scene with custom arguments within the editor
2016-12-23 15:59:16 +01:00
Ivan P. Skodje
da950cd0f2
PopupMenu upgrade: Hide on item selection ( #7306 )
...
* Added the option to set hide on item selection. Usable in GDScript and from within the source code when you want to specify popup menus you don't want to close immediately when selecting an item
* Renamed getter from get_ to is_, fixed parent/child behavior, renamed bool variable to match most code and added ADD_PROPERTYNO to save some memory
2016-12-23 15:43:45 +01:00
Juan Linietsky
19ba45587c
put some limits to max ubo sizes to avoid crashes
2016-12-23 01:05:21 -03:00
Juan Linietsky
4e729f38e0
baking now shows a proper button, and bakes can be saved.
2016-12-23 00:37:38 -03:00
bebae
abdedc3522
Allows to start the scene with custom arguments within the editor
...
fixes #7346
Path from the current scene isn't added too the argumens anymore by default and needs to be added throug the custom arguments, with $scene. Matches the behaviour of the executable without any arguments.
Custom Arguments are read from editor/main_run_args
2016-12-21 22:11:50 +01:00
Juan Linietsky
37f558cd7b
Some BRDF fixes
2016-12-21 14:22:17 -03:00
Juan Linietsky
075fde7f26
work in progress global illumination
2016-12-20 00:21:07 -03:00
Rémi Verschelde
9b1e04f79e
Merge pull request #7233 from Hinsbart/fix_dnd_crash
...
Fix crash on project importing by dragging a folder.
2016-12-08 07:46:19 +01:00
Rémi Verschelde
e7cab423c2
Merge pull request #7229 from volzhs/show-selected-node
...
Show selected node in Scene dock when parent node is folded
2016-12-08 07:45:31 +01:00
Andreas Haas
c2040324be
TextureRegionEditor: Fix mouse wheel scroll speed.
...
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
2016-12-03 21:38:49 +01:00
Andreas Haas
d82c2687f3
Fix crash on project importing by dragging a folder.
...
Fixes #7226
2016-12-02 18:51:31 +01:00
Rémi Verschelde
d311a39c19
Merge pull request #7191 from volzhs/check-android-release
...
Check keystore field when export Android release apk
2016-12-02 08:54:17 +01:00
volzhs
a192e0785e
Show selected node in Scene dock when parent node is folded
...
Fix #7228
2016-12-02 11:27:17 +09:00
volzhs
36b4b45170
Check keystore field when export Android release apk
2016-11-29 14:07:03 +09:00
Dmitry Kram
d766738991
Fix snap mode selector sticking in texture region module
...
When changing snap mode in texture region plugin ticks was not updating. Issue fixed changing order of setting checked status and setting snap mode.
2016-11-27 02:56:42 +02:00
Juan Linietsky
a732708b9d
Blend shapes using transform feedback (GPU)
2016-11-24 20:46:55 -03:00
Juan Linietsky
943d27f46d
Instancing is working! (hooray)
2016-11-22 01:26:56 -03:00
Juan Linietsky
c39d2b3f42
working reflection probes!!
2016-11-19 13:23:37 -03:00
Rémi Verschelde
635db806c4
Merge pull request #7115 from sketchyfun/path3D_handle_snap
...
Added snapping to 3D path handles
2016-11-15 08:17:55 +01:00
Ben Hickling
4d1acab79b
Added snapping to 3D path handles to bring it in line with its 2D counterpart
2016-11-14 14:46:08 +00:00
volzhs
2d9e89ea2a
Check entered and trimmed path when create, import, install project
2016-11-14 21:46:10 +09:00
Rémi Verschelde
bbc71083c1
Merge pull request #7111 from volzhs/crash-import-scene
...
Fix crash when select target path on import 3d scene window
2016-11-14 08:28:20 +01:00
volzhs
b0cf201ea3
Fix crash when select target path on import 3d scene window
2016-11-14 08:36:01 +09:00
volzhs
c3f4d676c0
Prevent to select children if selection lock or instanced scene
...
Fix #7086
2016-11-12 22:43:31 +09:00
Rémi Verschelde
02e616b4ef
Merge pull request #6998 from volzhs/fix-editor-settings
...
Fix resetting to default value in EditorSettings
2016-11-11 14:17:53 +01:00
Rémi Verschelde
d0d81a2470
Merge pull request #7082 from volzhs/attach-script
...
Can create or load script on Attach script dialog
2016-11-11 10:55:16 +01:00
Rémi Verschelde
02fba9e396
Merge pull request #7078 from pkowal1982/export_button
...
Export immediately if only one device present
2016-11-11 10:52:00 +01:00
volzhs
1880238c3e
Can create or load script on Attach script dialog
2016-11-11 05:06:39 +09:00
Juan Linietsky
cacf9ebb7f
all light types and shadows are working, pending a lot of clean-up
2016-11-09 23:55:06 -03:00
Rémi Verschelde
7d1230a266
Merge pull request #7052 from Paulb23/text_edit_color_uniformation
...
Made background and symbol color follow the color API
2016-11-09 15:47:15 +01:00
Rémi Verschelde
a201fbb751
Merge pull request #7027 from Keetz/master
...
Fix scene tree drag & drop places node as child (#6912 )
2016-11-09 12:53:35 +01:00
Rémi Verschelde
734e04a0dd
Merge pull request #7068 from volzhs/fix-project-name
...
Set project name as directory name instead of '.'
2016-11-09 12:02:24 +01:00
Pawel Kowal
938f9388dd
Export immediately if only one device present
2016-11-08 20:08:07 +01:00
volzhs
571f33f863
Set project name as directory name instead of '.'
2016-11-08 21:39:28 +09:00
volzhs
b8f80e9450
Select newly created or imported project automatically
2016-11-08 03:39:05 +09:00
Paulb23
0e2c15e91a
Made background and symbol color follow the color API
2016-11-06 13:50:23 +00:00
Rémi Verschelde
a4570cb461
Merge pull request #7035 from volzhs/undo-redo-duplicate
...
Prevent to make UndoRedo for duplicate if no selected node
2016-11-06 12:09:49 +01:00
Rémi Verschelde
415f5a7cfe
Merge pull request #7026 from SaracenOne/value_track_flag_fix
...
Fixed flag for importing animation and skipping value tracks.
2016-11-06 12:04:04 +01:00
Rémi Verschelde
20a33e809e
Merge pull request #7009 from volzhs/fix-double-click
...
Fix to focus or rename node by double click
2016-11-06 12:02:51 +01:00
Pawel Kowal
544194053a
Fix #7016 , add script create icon
2016-11-05 18:20:59 +01:00
volzhs
d82928eb49
Prevent to make UndoRedo for duplicate if no selected node
2016-11-05 00:52:53 +09:00
Keetz
2afcbc4b1f
Fix scene tree drag & drop places node as child ( #6912 )
2016-11-03 13:59:36 +01:00
Saracen
0063471edd
Fixed flag for importing animation and skipping value tracks.
2016-11-03 08:45:35 +00:00
Mateusz Adamczyk
ce5200b30e
Option for detaching script from node ( #6934 ).
2016-11-01 22:49:01 +01:00
volzhs
fd9aebd4fa
Fix to focus or rename node by double click
2016-11-01 22:26:29 +09:00
Rémi Verschelde
f34151ff0f
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-01 00:35:16 +01:00
Rémi Verschelde
817dd7ccbb
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-01 00:35:16 +01:00
Rémi Verschelde
d4c17700aa
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-01 00:35:16 +01:00
Rémi Verschelde
97c8508f5e
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-01 00:33:51 +01:00
volzhs
70cce6152d
Fix resetting to default value in EditorSettings
2016-11-01 01:51:34 +09:00
volzhs
a7d492eb53
Fix memory leak with drag & drop on 2D viewport
2016-10-31 11:50:34 +09:00
volzhs
707185d9d8
Fix p_index out of size error when closing script
2016-10-31 06:20:54 +09:00
volzhs
513820ab27
Fix 2 search menus are shown
2016-10-31 00:07:16 +09:00
volzhs
696c47d9ab
Fix bug with saving last select language and remove warning
2016-10-30 23:21:59 +09:00
Juan Linietsky
ab4126f510
Merge branch 'master' of https://github.com/godotengine/godot
2016-10-30 09:00:45 -03:00
Rémi Verschelde
914015f3b6
Merge pull request #6962 from henriquelalves/external_editor_focus_bug
...
Won't change editor tabs when using External Editor.
2016-10-30 12:17:28 +01:00
Rémi Verschelde
1ee1a959ab
Merge pull request #6945 from Hinsbart/script_dnd
...
Ability to drag script files from Filesystem dock to SceneTree dock.
2016-10-30 12:10:45 +01:00
Rémi Verschelde
644e810cef
Merge pull request #6920 from volzhs/dragndrop-2d
...
Improve drag and drop on 2D viewport
2016-10-30 12:06:19 +01:00
Rémi Verschelde
4ed2f98730
Merge pull request #6874 from mateka/issue-6839
...
Option to load script for node (#6839 )
2016-10-30 11:57:56 +01:00
Rémi Verschelde
426ff9e7ac
Merge pull request #6614 from TheKK/issue5989
...
Make FileDialog directory selection less misleading
2016-10-30 10:46:01 +01:00
Juan Linietsky
d6567010bf
-Many many fixes
...
-Gizmos work again
2016-10-29 20:48:09 -03:00
Henrique L. Alves
13c92099e6
Won't change editor tabs when using External Editor.
...
Fixes issue #3046 .
2016-10-29 11:44:57 -02:00
Juan Linietsky
53d8f2b1ec
PBR more or less working, still working on bringing gizmos back
2016-10-27 11:50:26 -03:00
Andreas Haas
a3944e66da
Ability to drag script files from Filesystem dock to SceneTree dock.
...
Allows to attach scripts by dragging them onto the target Node.
2016-10-27 16:32:41 +02:00
volzhs
eed9179ea3
Improve drag and drop on 2D viewport
2016-10-26 21:21:01 +09:00
Bojidar Marinov
713f1451b9
Allow typing hints for Array class (in GDScript and Inspector/ArrayPropertyEdit)
...
Closes #3586 , by implementing the `1b` variation mentioned there.
2016-10-26 14:38:41 +03:00
volzhs
9605a1d0da
Remove dead code in FileSystemDock
2016-10-23 23:38:49 +09:00
Henrique Lacreta Alves
853d1ce9f3
Prevent unwanted script editor input on game crash
...
Fixes #6530 .
2016-10-22 12:54:38 +02:00
Rémi Verschelde
ac765fd518
Merge pull request #6710 from lordadamson/master
...
fix #6031 when creating a script the default language will be what yo…
2016-10-22 12:48:59 +02:00
Adham Zahran
a84a461767
fix #6031 when creating a script the language will be what you selected last time
2016-10-20 23:53:15 +02:00
Mateusz Adamczyk
41329f9750
Option to load script for node ( #6839 )
2016-10-19 21:26:14 +02:00
Juan Linietsky
4428115916
Everything returning to normal in 3D, still a long way to go
...
-implemented the scene part of visual server and rasterizer, objects without lighting and material are rendererd only
2016-10-19 11:14:41 -03:00
Rémi Verschelde
e96c49f849
Merge pull request #6850 from akien-mga/pr-scsub-shebang
...
SCsub: Add python shebang as a hint for syntax highlighting
2016-10-17 20:13:18 +02:00
Rémi Verschelde
fc8ccd5b8c
SCsub: Add python shebang as a hint for syntax highlighting
...
Also switch existing shebangs to "better" /usr/bin/env python.
2016-10-17 20:10:46 +02:00
Rémi Verschelde
c4b7c7d81b
Merge pull request #6796 from mateka/issue-3486
...
Possibility to write node path by hand in exported NodePath variable (#3486 )
2016-10-17 11:17:06 +02:00
Rémi Verschelde
1da55f4251
Merge pull request #6825 from volzhs/import-3d-scene-name
...
Add option for root node name on Import 3D scene window
2016-10-17 10:08:23 +02:00
volzhs
dd04ac7ba9
Add option for root node name on Import 3D scene window
2016-10-15 01:44:19 +09:00
Rémi Verschelde
2f57249c29
Merge pull request #6793 from volzhs/save-branch
...
Replace a node with saved branch scene instance
2016-10-14 18:09:47 +02:00
Rémi Verschelde
44e0071d0f
Merge pull request #6780 from RandomShaper/space-padded-line-numbers
...
Allow turning off zero-padding for line numbers
2016-10-14 18:09:27 +02:00
George Marques
682c20be46
Merge pull request #6814 from Hinsbart/animplayer
...
Only show AnimationEditor automatically when an Animplayer is selected.
2016-10-13 13:07:37 -03:00
Rémi Verschelde
05a5d3d9d5
Merge pull request #6782 from pkowal1982/load_icon
...
New load icon, removed unused open icon
2016-10-13 18:00:07 +02:00
Andreas Haas
86fd40b06c
Only show AnimationEditor automatically when an Animplayer is selected.
...
Previous behaviour was to show it when an AnimationPlayer has been detected in the scene, now you actually have to select it.
Fixes #6213
2016-10-13 12:31:56 +02:00
Pedro J. Estébanez
00b3af246b
Allow turing off zero-padding for line numbers
2016-10-13 11:43:42 +02:00