Skip to content

Commit 8f772f6

Browse files
authored
Merge pull request #10502 from The-oldone/Fix-typo-in-visual-shaders
Fix `Switch` node boolean conversion description in Visual shaders
2 parents 6e1144a + 5d941e5 commit 8f772f6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tutorials/shaders/visual_shaders.rst

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,7 +224,7 @@ Switch node
224224
~~~~~~~~~~~
225225

226226
The ``Switch`` node returns a vector if the boolean condition is ``true`` or
227-
``false``. ``Boolean`` was introduced above. If you convert a vector to a true
228-
boolean, all components of the vector should be above zero.
227+
``false``. ``Boolean`` was introduced above. If you want to convert a vector
228+
to a true boolean, all components of the vector should be non-zero.
229229

230230
.. image:: img/vs_switch.webp

0 commit comments

Comments
 (0)