Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobert Guetzkow <rjg>2020-12-09 14:19:13 +0300
committerRobert Guetzkow <gitcommit@outlook.de>2020-12-09 14:20:06 +0300
commitff83176c7f46ec16666bec79bbda5d0147b5ed7c (patch)
tree7452ae3fbcdee1a8db9a2a75f10c1449771033c5 /io_scene_x3d/import_x3d.py
parent1191a172ac389e3d068a8ef7d16f36457e67e3bc (diff)
Fix T84328: Correct errors caused by renaming
In rBA6aa8e130eff59059886e203ff95221609f63b222 all occurrences of "lamp" where replaced with "light" which also accidentally renamed "clamp" to "clight". In case of the x3d importer and object carver add-on this broke some functionality. This commit fixes the names to match the use the correct properties of the Python API and use semantically correct names for other add-on where the renaming didn't cause functional changes. Reviewed By: mont29 Differential Revision: https://developer.blender.org/D9782
Diffstat (limited to 'io_scene_x3d/import_x3d.py')
-rw-r--r--io_scene_x3d/import_x3d.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/io_scene_x3d/import_x3d.py b/io_scene_x3d/import_x3d.py
index 653b8d9f..5d681a96 100644
--- a/io_scene_x3d/import_x3d.py
+++ b/io_scene_x3d/import_x3d.py
@@ -2822,9 +2822,9 @@ def appearance_LoadTexture(tex_node, ancestry, node):
if bpyima: # Loading can still fail
repeat_s = tex_node.getFieldAsBool('repeatS', True, ancestry)
- bpyima.use_clight_x = not repeat_s
+ bpyima.use_clamp_x = not repeat_s
repeat_t = tex_node.getFieldAsBool('repeatT', True, ancestry)
- bpyima.use_clight_y = not repeat_t
+ bpyima.use_clamp_y = not repeat_t
# Update the desc-based cache
if desc: