replace BLI_array_declare with BLI_array_staticdeclare() and BLI_array_alloca() for smaller arrays.
This commit is contained in:
@@ -28,9 +28,8 @@ shader node_mapping(
|
||||
{
|
||||
point p = transform(Matrix, VectorIn);
|
||||
|
||||
if(use_minmax)
|
||||
if (use_minmax)
|
||||
p = min(max(mapping_min, p), mapping_max);
|
||||
|
||||
VectorOut = p;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user