Chaosus
8a8b7af638
Fix collapse visual shader tree
2019-05-03 11:10:08 +03:00
Chaosus
e57d761f9b
Fix build visual_shader_editor_plugin
2019-05-03 08:50:00 +03:00
Chaosus
62b7132947
Fix input entries when switching to new visual shader
2019-05-02 10:00:08 +03:00
Chaosus
3c159ea379
Added missed inputs for other modes in visual shaders
2019-05-01 17:04:39 +03:00
Chaosus
7a9735eef4
Fix uniform title color in visual shaders(regression)
2019-04-26 10:53:40 +03:00
Chaosus
446f8a2cc2
Fix crash regression in visual shader
2019-04-25 07:46:18 +03:00
Chaosus
3a3df84d3b
Fix connection lines glitch in visual shaders
2019-04-24 12:47:54 +03:00
Yuri Roubinsky
93e7eb0ddb
Merge pull request #28375 from Chaosus/fix_vs_loopback
...
Disallow loopback connection in visual shaders
2019-04-24 09:41:06 +03:00
Chaosus
21ca9f6c7c
Disallow loopback connection in visual scripts and visual shaders
2019-04-24 09:14:45 +03:00
Chaosus
9ac770be45
Removes preview from existing transform nodes in visual shader
2019-04-24 08:08:29 +03:00
Rémi Verschelde
0453e6eddc
Merge pull request #28348 from Chaosus/fix_vs_transform_preview
...
Removed incorrect "Transform" preview from visual shaders
2019-04-23 23:19:31 +02:00
Chaosus
be11b6f04d
Removed incorrect "Transform" preview from visual shaders
2019-04-23 21:52:06 +03:00
Chaosus
eb53c0fb32
Enlarge Vector3 constant node in visual shaders
2019-04-23 21:21:17 +03:00
homer666
557122fdda
Misc improvements to visual shader Add Node dialog
2019-04-16 15:40:54 +10:00
Chaosus
24faddc211
Added possibilty to delete multiple nodes in visual shaders via Delete key
2019-04-14 09:49:51 +03:00
Chaosus
87f87839a6
Added conditional nodes to visual shaders
2019-04-13 18:17:20 +03:00
Rémi Verschelde
c8994b56f9
Style: Apply new changes from clang-format 8.0
...
It seems to stay compatible with formatting done by clang-format 6.0 and 7.0,
so contributors can keep using those versions for now (they will not undo those
changes).
2019-04-09 17:09:48 +02:00
Chaosus
54bf313e07
Small hotfix to visual shader entries..
2019-04-07 16:25:32 +03:00
Rémi Verschelde
3dabe862af
Merge pull request #26164 from Chaosus/vshader_improvements
...
Major update for visual shader system
2019-04-07 14:24:23 +02:00
Chaosus
5fd671b8a7
Major improvements for visual shader system
2019-04-07 08:17:38 +03:00
PouleyKetchoupp
8346d90c5e
Properly handle different border widths in rounded corner aa
...
Note: removed (unused and not implemented) support for multiple border colors
2019-03-19 11:51:32 +01:00
Michael Alexsander Silva Dias
3ef8238c1c
Make translatable some undo/redo operations in the editor
2019-02-21 16:41:01 -03:00
marxin
8d51618949
Add -Wshadow=local to warnings and fix reported issues.
...
Fixes #25316 .
2019-02-20 19:44:12 +01:00
Juan Linietsky
541422a4a2
Clean up and fix issues after merging #21701 , closes #21104
2019-01-18 13:01:24 -03:00
Rémi Verschelde
b16c309f82
Update copyright statements to 2019
...
Happy new year to the wonderful Godot community!
2019-01-01 12:58:10 +01:00
Michael Alexsander Silva Dias
9d4a996a08
Fix titles in graph editors being invisible when headers are enabled
2018-12-16 23:18:04 -02:00
Andrii Doroshenko (Xrayez)
feb12559e6
Properly reselect duplicated visual shader nodes
...
This makes it much easier to drag duplicated nodes away from original ones.
2018-12-10 14:20:58 +02:00
Andrii Doroshenko (Xrayez)
86eb6951c7
Fix duplicating visual shader nodes
2018-12-09 15:37:57 +02:00
Michael Alexsander Silva Dias
3ae5eec366
Add tooltips to GraphEdit node
2018-12-04 15:00:27 -02:00
Rémi Verschelde
14632cf88f
Merge pull request #22239 from Chaosus/fix_vs_connection
...
Disconnects previous visual shader node before making a new connection
2018-09-20 18:46:02 +02:00
Chaosus
a3fdaa4f21
Disconnect previous visual shader node connection before new connect
2018-09-19 10:30:45 +03:00
elasota
37595e183d
Fix visual shader color constants not retaining edits
2018-09-15 02:47:38 -04:00
Rémi Verschelde
1a16dabfb5
Merge pull request #21982 from luzpaz/misc-typos
...
Misc. typos
2018-09-13 10:59:00 +02:00
luz.paz
08bde5b2de
Misc. typos
...
Found via `codespell -q 3 -I ../godot-word-whitelist.txt --skip="./thirdparty,*.po"`
2018-09-12 21:39:17 -04:00
Rémi Verschelde
277b24dfb7
Make core/ includes absolute, remove subfolders from include path
...
This allows more consistency in the manner we include core headers,
where previously there would be a mix of absolute, relative and
include path-dependent includes.
2018-09-12 09:52:22 +02:00
Rémi Verschelde
9eb4d4ab2d
Add missing copyright headers
2018-08-29 22:41:17 +02:00
Hein-Pieter van Braam
2a02f44ad9
Don't try to update the visual shader graph if it doesn't exist yet
...
When setting shader mode on a visual shader that was just created in the
editor we try to _update_graph(). However, the graph does not yet exist
in the visualshadereditor. This gets populated in
VisualShaderEditor::edit() which hasn't been called yet.
This PR simply changes the logic to not try to update the non-existent
graph.
This fixes #20322
2018-08-12 22:33:35 +02:00
Hein-Pieter van Braam
0e29f7974b
Reduce unnecessary COW on Vector by make writing explicit
...
This commit makes operator[] on Vector const and adds a write proxy to it. From
now on writes to Vectors need to happen through the .write proxy. So for
instance:
Vector<int> vec;
vec.push_back(10);
std::cout << vec[0] << std::endl;
vec.write[0] = 20;
Failing to use the .write proxy will cause a compilation error.
In addition COWable datatypes can now embed a CowData pointer to their data.
This means that String, CharString, and VMap no longer use or derive from
Vector.
_ALWAYS_INLINE_ and _FORCE_INLINE_ are now equivalent for debug and non-debug
builds. This is a lot faster for Vector in the editor and while running tests.
The reason why this difference used to exist is because force-inlined methods
used to give a bad debugging experience. After extensive testing with modern
compilers this is no longer the case.
2018-07-26 00:54:16 +02:00
Nufflee
228bd21e26
Fix #20171 .
2018-07-20 22:25:18 +02:00
Rémi Verschelde
95d99cb2ac
Merge pull request #20176 from Chaosus/vs_namefixes
...
Several name fixes for visual shaders
2018-07-17 13:54:22 +02:00
Thomas Herzog
72430b041e
Merge pull request #20169 from Chaosus/rightclick_vs
...
Visual shaders - make "Add node" menu showed by right click
2018-07-16 15:46:18 +02:00
Chaosus
3af81427a1
Several name fixes for visual shader
2018-07-15 17:28:06 +03:00
Chaosus
f8417ac682
Visual shaders - make "Add node" menu showed by right click
2018-07-15 10:33:11 +03:00
Chaosus
c88da2fce5
Fix display scale bug in visual shaders
2018-07-15 08:55:41 +03:00
Juan Linietsky
f6ce73f724
Visual Shaders are back.
2018-07-14 18:16:18 -03:00