Page Menu
Home
Search
Configure Global Search
Log In
Paste
P2694
(An Untitled Masterwork)
Active
Public
Actions
Authored by
Charlie Jolly (charlie)
on Dec 31 2021, 1:57 PM.
Edit Paste
Archive Paste
View Raw File
Subscribe
Mute Notifications
Award Token
Tags
None
Subscribers
None
diff
--
git
a
/
source
/
blender
/
nodes
/
shader
/
nodes
/
node_shader_math
.
cc
b
/
source
/
blender
/
nodes
/
shader
/
nodes
/
node_shader_math
.
cc
index
1
b450a6414b
.
.5
c6ddbf4052
100644
---
a
/
source
/
blender
/
nodes
/
shader
/
nodes
/
node_shader_math
.
cc
+++
b
/
source
/
blender
/
nodes
/
shader
/
nodes
/
node_shader_math
.
cc
@@
-76
,
7
+
76
,
7
@@
static
void
sh_node_math_gather_link_searches
(
GatherLinkSearchOpParams
&
params
)
for
(
const
EnumPropertyItem
*
item
=
rna_enum_node_math_items
;
item
->
identifier
!=
nullptr
;
item
++
)
{
-
if
(
item
->
name
!=
nullptr
&&
item
->
identifier
!=
""
)
{
+
if
((
item
->
name
!=
nullptr
)
&&
(
item
->
identifier
[
0
]
!=
'\0'
))
{
params
.
add_item
(
IFACE_
(
item
->
name
),
SocketSearchOp
{
"Value"
,
(
NodeMathOperation
)
item
->
value
},
weight
);
}
diff
--
git
a
/
source
/
blender
/
nodes
/
shader
/
nodes
/
node_shader_vector_math
.
cc
b
/
source
/
blender
/
nodes
/
shader
/
nodes
/
node_shader_vector_math
.
cc
index
a488e709373
..
a3fac8b31ee
100644
---
a
/
source
/
blender
/
nodes
/
shader
/
nodes
/
node_shader_vector_math
.
cc
+++
b
/
source
/
blender
/
nodes
/
shader
/
nodes
/
node_shader_vector_math
.
cc
@@
-68
,
7
+
68
,
7
@@
static
void
sh_node_vector_math_gather_link_searches
(
GatherLinkSearchOpParams
&
p
for
(
const
EnumPropertyItem
*
item
=
rna_enum_node_vec_math_items
;
item
->
identifier
!=
nullptr
;
item
++
)
{
-
if
(
item
->
name
!=
nullptr
&&
item
->
identifier
!=
""
)
{
+
if
((
item
->
name
!=
nullptr
)
&&
(
item
->
identifier
[
0
]
!=
'\0'
))
{
if
((
params
.
in_out
()
==
SOCK_OUT
)
&&
ELEM
(
item
->
value
,
NODE_VECTOR_MATH_LENGTH
,
NODE_VECTOR_MATH_DISTANCE
,
Event Timeline
Charlie Jolly (charlie)
created this paste.
Dec 31 2021, 1:57 PM
Log In to Comment