Commit graph

11849 commits

Author SHA1 Message Date
Rémi Verschelde
90d95c7ee1
Merge pull request #14757 from YeldhamDev/submenu_keyboard
More changes to PopupMenu's submenu keyboard handling
2017-12-17 20:22:20 +01:00
Rémi Verschelde
4ee57026bb
Merge pull request #14781 from djrm/pr_visual_improvements
General use Variant type icons, plus other icon updates.
2017-12-17 20:21:48 +01:00
Daniel J. Ramirez
756c033adb General use Variant type icons, plus other icon updates. 2017-12-17 13:19:09 -06:00
Rémi Verschelde
3ce5a74df2
Merge pull request #14770 from volzhs/sub-resources
Show sub-resources as sub-menu
2017-12-17 20:02:41 +01:00
Rémi Verschelde
89a32b4977
Merge pull request #14775 from hpvb/limit-lightmapper-subdiv
Limit the lightmapper subdivide to 1024
2017-12-17 19:59:59 +01:00
Juan Linietsky
3de20641f5 Property install export templates when downloaded from http
added a scale parameter for scene import
2017-12-17 15:48:24 -03:00
Rémi Verschelde
f5b183d525
Merge pull request #14780 from vnen/tileset-editor-fix
Fix method not returning value in all paths (autotile editor)
2017-12-17 19:34:01 +01:00
Rémi Verschelde
fd022cb156
Merge pull request #14778 from YeldhamDev/lineedit_deselect_expose
Exposed LineEdit's "selection_clear" and renamed it to "deselect"
2017-12-17 19:29:59 +01:00
Rémi Verschelde
9b86703fd9
Merge pull request #14772 from poke1024/fix14539
Fix cut-copy-line breaking paste (issue 14539)
2017-12-17 19:28:16 +01:00
George Marques
c8d416d152
Fix method not returning value in all paths (autotile editor) 2017-12-17 16:03:46 -02:00
Michael Alexsander Silva Dias
95f93e038a Exposed LineEdit's "selection_clear" and renamed it to "deselect". 2017-12-17 15:40:44 -02:00
Ray Koopa
0d04f212a3 Clean up setting dialogues a bit. 2017-12-17 18:39:36 +01:00
Hein-Pieter van Braam
c4c7fa3f5e Limit the lightmapper subdivide to 1024
Due to memory contraints in other places in Godot it is unlikely that
anything higher than 1024 will actually work. When/if we improve memory
management for vectors we can increase  this limit again
2017-12-17 18:00:00 +01:00
Bernhard Liebl
abfcce0067 Fix cut-copy-line breaking paste (issue 14539) 2017-12-17 16:24:23 +01:00
Juan Linietsky
fa8a1fc420 Fixes how transform is applied to geometry in UV unwrap 2017-12-17 12:04:54 -03:00
volzhs
002a0271fe Show sub-resources as sub-menu 2017-12-17 23:55:24 +09:00
Rémi Verschelde
cacab4ba62
Merge pull request #14769 from akien-mga/if-0-cleanup
Cleanup some #if 0'd code
2017-12-17 15:43:11 +01:00
Rémi Verschelde
8f25a2dc11 Cleanup some #if 0'd code 2017-12-17 15:40:24 +01:00
Rémi Verschelde
8821f9b750
Merge pull request #14767 from volzhs/save-clip-contents
Fix Clip Content property is not saved
2017-12-17 15:18:30 +01:00
volzhs
ef32018d1f Fix Clip Content property is not saved 2017-12-17 23:10:59 +09:00
Rémi Verschelde
ad3393743c
Merge pull request #14760 from hpvb/add-several-unlikely-macros
Add several unlikely() macros
2017-12-17 14:28:15 +01:00
Rémi Verschelde
539fd14cf5
Merge pull request #14758 from hpvb/optimize-lightbaker-rng
Use a more naive RNG for the lightmapper
2017-12-17 14:27:51 +01:00
Rémi Verschelde
dbae2d98e3
Merge pull request #14528 from AlmightyScientist/issue-14456
Shader Language: Add in-for declared variables within for-block scope.
2017-12-17 14:24:53 +01:00
Rémi Verschelde
6afb90c846
Merge pull request #14635 from poke1024/getline
Faster FileAccess::get_line()
2017-12-17 14:24:07 +01:00
Rémi Verschelde
93c9aada67
Merge pull request #14692 from poke1024/docsgroups
Docs methods grouping by prefix
2017-12-17 14:23:49 +01:00
Rémi Verschelde
d0abcf1a58
Merge pull request #14745 from poke1024/api-hash-arg-info
Faster ClassDB::get_api_hash()
2017-12-17 14:22:48 +01:00
Rémi Verschelde
e2583233d1
Merge pull request #14755 from hpvb/fix-13337
Don't glBindTexture() on viewports without effects
2017-12-17 14:19:36 +01:00
Rémi Verschelde
fc0e341fc5
Merge pull request #14764 from poke1024/android
Increase sleep time for android export thread
2017-12-17 14:18:47 +01:00
Rémi Verschelde
5b1960e5ff
Merge pull request #14766 from volzhs/info-fps
Refactoring FPS & information on 3D viewport
2017-12-17 14:18:28 +01:00
volzhs
4073de88cb Refactoring FPS & information on 3D viewport
- FPS label position adjusted with Preview button
- Remove unnecessary Panel control
- Remove unnecessary check condition
2017-12-17 21:49:44 +09:00
Hein-Pieter van Braam
9ba134b463 Add several unlikely() macros
Based off of perf-based prediction misses these seem to be the
lowest-hanging fruit for quick (albeit small) improvements. These are
based on:

* baking a complex lightmap
* running platformer 3d
* running goltorus
2017-12-17 13:10:30 +01:00
Rémi Verschelde
863dcdf431
Merge pull request #14765 from ColinKinloch/master
Fixed Android NDK unified header detection for python 3
2017-12-17 13:07:06 +01:00
Colin Kinloch
064189c693 Fixed Android NDK unified header detection for python 3 2017-12-17 12:01:16 +00:00
Bernhard Liebl
95edc3855a Increase sleep time for android export thread 2017-12-17 11:50:11 +01:00
Rémi Verschelde
32bc42690c
Merge pull request #14761 from fire/gdnative-lightmapper
Fix gdnative generation for lightmapper.
2017-12-17 11:12:21 +01:00
Rémi Verschelde
d9c730e138
Merge pull request #14762 from hpvb/tweak-openmp-parameters-for-lightbaker
Tweak OpenMP parameters for lightbaker
2017-12-17 11:08:42 +01:00
Hein-Pieter van Braam
a402efeb72 Tweak OpenMP parameters for lightbaker
On higher threadcount systems this allows for better utilization. On my
16 thread box CPU use goes from 10 - 11 threads to a steady 15 threads
on the Sponza scene.

Baking time goes from ~10:00 to ~07:30 for me. On lower threadcount
systems I expect some improvement also but likely a little less.
2017-12-17 03:09:38 +01:00
K. S. Ernest (iFire) Lee
9948da70a0 Fix gdnative generation for lightmapper. 2017-12-16 16:56:54 -08:00
Enzo Nocera
8e2a1ffd6e Shader Language: Add in-for declared variables within for-block scope. 2017-12-17 01:43:59 +01:00
George Marques
f1683a290b
Add support for whole program optimization on MSVC
Since it's similar to LTO, it can be enabled by setting use_lto=yes.
2017-12-16 22:29:02 -02:00
Hein-Pieter van Braam
be4448bd1f Use a more naive RNG for the lightmapper
This speeds up the lightmapper by about 10% with no visible impact. A
comparison is up here:

https://tmm.cx/nextcloud/s/Log1eAXen1dJzBz

AMD Ryzen 7 1700 Eight-Core Processor
Sponza scene

pcg32
256/256/high   00:10:13
256/256/medium 00:02:50
256/256/low    00:01:11

xorshift
256/256/high   00:09:32
256/256/medium 00:02:34
256/256/low    00:01:05
2017-12-17 00:12:45 +01:00
Michael Alexsander Silva Dias
7e38db631f More changes to PopupMenu's submenu keyboard handling. 2017-12-16 20:57:26 -02:00
Juan Linietsky
83291eab3a
Merge pull request #14756 from godotengine/revert-14484-fix_mouse_focus_button_release
Revert "Fix mouse button release not sent to gui_input if it's different from the button that gave focus"
2017-12-16 19:50:57 -03:00
Juan Linietsky
1b944cb663
Revert "Fix mouse button release not sent to gui_input if it's different from the button that gave focus" 2017-12-16 19:50:32 -03:00
Hein-Pieter van Braam
34991af553 Don't glBindTexture() on viewports without effects
@reduz said there was another place that needed to be checked for a
similar issue but I have to admit I didn't understand.

This fixes #13337
2017-12-16 23:38:02 +01:00
Juan Linietsky
652c98a7be Add epic hack so vsync can be toggled in run-time from script. Fixes #14458.
Call needs to be routed via visual server to reach the proper thread.
2017-12-16 17:11:02 -03:00
Rémi Verschelde
d03f35f1bc Bind TextEdit.deselect and update documentation 2017-12-16 21:08:31 +01:00
Juan Linietsky
db22aec51a fixed reference to splash file 2017-12-16 16:20:36 -03:00
Juan Linietsky
cf84ee22a9 Added custom editor splash (including sponsor logo). 2017-12-16 16:11:13 -03:00
poke1024
9cfc4440c1 Docs methods grouping by prefix 2017-12-16 20:02:10 +01:00