kobewi
98692d68c3
Minor tweaks and fixes to panning
2022-01-23 13:49:53 +01:00
Rémi Verschelde
e363f404a5
Merge pull request #57000 from KoBeWi/UNLIMITED_PANNING
2022-01-23 00:47:52 +01:00
Rémi Verschelde
ee253163ab
Merge pull request #57056 from Chaosus/vs_fix_defaults
2022-01-23 00:27:48 +01:00
Yuri Roubinsky
56a6e95d6a
Remove transform input from fog mode in visual shaders
2022-01-22 16:31:06 +03:00
Yuri Roubinsky
538cff1351
Fix default input port hints for some modes in visual shader
2022-01-22 11:12:56 +03:00
kobewi
74bfe88267
Add ViewPanner to 2D editor
2022-01-21 18:35:06 +01:00
trollodel
aa1102fc53
Store panels and docks singletons in their own classes
2022-01-20 20:13:26 +01:00
Yuri Roubinsky
b2ae6f838a
Merge pull request #56713 from Chaosus/vs_sampler_connection
...
Auto-set a port source for texture nodes created by dragged connection
2022-01-12 16:07:09 +03:00
Yuri Roubinsky
c381990fca
Auto-set a port source for texture nodes created by dragged connection
2022-01-12 15:21:55 +03:00
Yuri Roubinsky
422f7b280f
Optimize include files to improve shader_language.h
compilation speed
2022-01-12 14:19:12 +03:00
Rémi Verschelde
b5495783b2
Merge pull request #53185 from KoBeWi/viewing_pan
2022-01-12 11:36:41 +01:00
Anilforextra
6c3a0460a8
Use List Initializations for Vectors.
2022-01-12 10:15:12 +05:45
kobewi
ba7ed05792
Unify panning in sub-editors and make it configurable
2022-01-11 13:57:19 +01:00
Yuri Roubinsky
ea8d00282d
A small visual shader editor refactoring
2022-01-07 11:27:06 +03:00
Rémi Verschelde
fe52458154
Update copyright statements to 2022
...
Happy new year to the wonderful Godot community!
2022-01-03 21:27:34 +01:00
Nathan Franke
49403cbfa0
Replace String comparisons with "", String() to is_empty()
...
Also:
- Adds two stress tests to test_string.h
- Changes to .empty() on std::strings
2021-12-09 04:48:38 -06:00
Nathan Franke
41a20171eb
align to horizontal_alignment, valign to vertical_alignment, related
2021-12-09 01:38:46 -06:00
Yuri Roubinsky
76f6c0849c
Make compile
shader function to use struct instead long parameter list
2021-12-08 11:34:40 +03:00
jmb462
81efebb3a1
Fix bad popups offset in editor with single window off
...
Co-authored-by: Gil Arasa Verge <gilarasaverge@gmail.com>
Co-authored-by: Tomasz Chabora <kobewi4e@gmail.com>
2021-12-06 14:29:48 +01:00
Yuri Roubinsky
b12fea5b52
Add bitwise operators to VisualShaderNodeIntOp
2021-12-03 12:48:35 +03:00
Lightning_A
e078f970db
Rename remove()
to remove_at()
when removing by index
2021-11-23 18:58:57 -07:00
Yuri Roubinsky
eabf8f5edf
Added reset_size
method to Control
and Window
classes
2021-11-22 16:55:21 +03:00
Aaron Franke
3c0fdcc8ac
Use "enum class" for input enums
2021-11-12 15:37:54 -06:00
Yuri Roubinsky
826e781bfa
Fix default_texture_param in shader pipeline to support uniform arrays
2021-11-12 12:53:40 +03:00
Rémi Verschelde
68664c0239
Merge pull request #54836 from pycbouh/inspector-plugins-fixes-and-groups
2021-11-10 22:06:30 +01:00
Yuri Sizov
2e4d18c929
Fix EditorInspectorPlugin virtual bindings and add parse_group callback
2021-11-10 17:56:59 +03:00
Yuri Roubinsky
80b563672b
Added MeshEmitter
node for particles in visual shader
2021-11-06 17:45:38 +03:00
Yuri Roubinsky
dcdf59cd73
Added 2D boolean hint for particle emitters in visual shaders
2021-11-05 12:45:57 +03:00
Rémi Verschelde
eae34230c8
Merge pull request #54419 from Chaosus/vs_cut
2021-11-01 14:05:46 +01:00
Clay John
8a10bb7d0d
Use OpenGL 3.3 core profile instead of compatibility profile
...
- Rename OpenGL to GLES3 in the source code per community feedback.
- The renderer is still exposed as "OpenGL 3" to the user.
- Hide renderer selection dropdown until OpenGL support is more mature.
- The renderer can still be changed in the Project Settings or using
the `--rendering-driver opengl` command line argument.
- Remove commented out exporter code.
- Remove some OpenGL/DisplayServer-related debugging prints.
2021-10-31 15:56:45 +01:00
Yuri Roubinsky
6e00b4e330
Refactored copy/paste of visual shaders, implement 'Cut' feature
2021-10-31 10:42:32 +03:00
Hugo Locurcio
ce97ddbcb1
Rename GLES2 driver to OpenGL to prepare for the upgrade to GLES3
...
- Use lowercase driver names for the `--rendering-driver`
command line argument.
2021-10-30 02:05:49 +02:00
Yuri Roubinsky
2d0aa5ebc4
Repair Fog mode in visual shaders
2021-10-29 17:09:03 +03:00
Rémi Verschelde
3b11e33a09
clang-format: Disable alignment of operands, too unreliable
...
Sets `AlignOperands` to `DontAlign`.
`clang-format` developers seem to mostly care about space-based indentation and
every other version of clang-format breaks the bad mismatch of tabs and spaces
that it seems to use for operand alignment. So it's better without, so that it
respects our two-tabs `ContinuationIndentWidth`.
2021-10-28 15:19:35 +02:00
Yuri Roubinsky
af08d497e2
Fix error spam at setting a CurveTexture in visual shaders
2021-10-22 17:32:16 +03:00
Yuri Roubinsky
e270644b20
Add a default input parameter field to CurveTexture (in visual shaders)
2021-10-13 15:25:12 +03:00
Yuri Roubinsky
c299c54023
Make port previews in visual shader visible in other shader modes
2021-10-11 22:19:08 +03:00
Lightning_A
c63b18507d
Use range iterators for Map
2021-09-30 15:09:12 -06:00
Anilforextra
cc51b045da
Construct values only when necessary.
2021-09-23 22:26:07 +05:45
Yuri Roubinsky
c6d5c98c71
Fix pressing Add Node
button in visual shader editor
2021-09-15 19:01:02 +03:00
Juan Linietsky
d085b2d04d
Merge pull request #43838 from lupoDharkael/cancel-member
...
Clear connection data from/to empty after used
2021-08-30 19:38:51 -03:00
reduz
5cecdfa8af
Entirely removes BIND_VMETHOD in favor of GDVIRTUAL
...
* `_gui_input`, `_input`, `_unhandled_input` and `_unhandled_key_input` are now regular C++ virutal functions.
* Everything else converted to GDVIRTUAL
* BIND_VMETHOD is gone, always use the new syntax from now on.
Creating `_gui_input` method and using the binder to register events will no longer work, simply override the virtual function now.
2021-08-23 08:10:13 -03:00
reduz
3682978aee
Replace BIND_VMETHOD by new GDVIRTUAL syntax
...
* New syntax is type safe.
* New syntax allows for type safe virtuals in native extensions.
* New syntax permits extremely fast calling.
Note: Everything was replaced where possible except for `_gui_input` `_input` and `_unhandled_input`.
These will require API rework on a separate PR as they work different than the rest of the functions.
Added a new method flag METHOD_FLAG_OBJECT_CORE, used internally. Allows to not dump the core virtuals like `_notification` to the json API, since each language will implement those as it is best fits.
2021-08-22 08:23:58 -03:00
Rémi Verschelde
e1e01427cc
Merge pull request #50411 from Chaosus/vs_filter
...
Added port type content filter on port dragging in visual shader
2021-08-18 20:43:03 +02:00
Yuri Roubinsky
f653cc13b9
Added port type content filter on port dragging in visual shader
2021-08-18 21:13:04 +03:00
Paulb23
ac39022dbc
Fix visual shader keyword colour
2021-08-18 17:56:04 +01:00
Paulb23
bcfc591f86
Reorganise text editor settings
2021-08-16 17:18:49 +01:00
Rémi Verschelde
24ec20414a
Merge pull request #50114 from Chaosus/vs_constants
...
Few improvements for constants in visual shader
2021-08-13 14:45:13 +02:00
Rémi Verschelde
f0e420e981
Merge pull request #51519 from Chaosus/vs_transform_operator
...
Changed `TransformMult` node to `TransformOp` in visual shaders
2021-08-13 14:44:14 +02:00
Yuri Roubinsky
b2b33ce4f6
Merge pull request #51572 from Chaosus/vs_fix_transform_instance
...
Fix printing error about unsupported modifier on `TransformUniform`
2021-08-12 21:23:18 +03:00