Skip to content

Commit

Permalink
Changed distance of image_texture_node and PBSDF to 500
Browse files Browse the repository at this point in the history
  • Loading branch information
Aspirata committed Jun 13, 2024
1 parent b1232f6 commit 134090e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Mcblend Source/Materials/Materials.py
Original file line number Diff line number Diff line change
Expand Up @@ -662,11 +662,11 @@ def animate_texture(texture_node, image_texture, new_image_texture_path, ITextur
if image_texture != None:
try:
try:
if abs(image_texture_node.location.x - PBSDF.location.x) < 600:
image_texture_node.location.x = PBSDF.location.x - 600
if abs(image_texture_node.location.x - PBSDF.location.x) < 500:
image_texture_node.location.x = PBSDF.location.x - 500
except:
if abs(ITexture_Animator.location.x - PBSDF.location.x) < 600:
ITexture_Animator.location.x = PBSDF.location.x - 600
if abs(ITexture_Animator.location.x - PBSDF.location.x) < 500:
ITexture_Animator.location.x = PBSDF.location.x - 500
except:
pass

Expand Down

0 comments on commit 134090e

Please sign in to comment.