Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
B
blender-addons
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
blender
blender-addons
Commits
97dd992b
Commit
97dd992b
authored
12 years ago
by
Campbell Barton
Browse files
Options
Downloads
Patches
Plain Diff
3ds max writes 'map_refl' in materials. add support for reading this.
parent
f915b348
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
io_scene_obj/import_obj.py
+1
-1
1 addition, 1 deletion
io_scene_obj/import_obj.py
with
1 addition
and
1 deletion
io_scene_obj/import_obj.py
+
1
−
1
View file @
97dd992b
...
...
@@ -339,7 +339,7 @@ def create_materials(filepath, material_libs, unique_materials, unique_material_
if
img_filepath
:
load_material_image
(
context_material
,
context_material_name
,
img_filepath
,
'
D
'
)
elif
line_lower
.
startswith
(
b
'
refl
'
):
# reflectionmap
elif
line_lower
.
startswith
(
(
b
'
map_refl
'
,
b
'
refl
'
)
)
:
# reflectionmap
img_filepath
=
line_value
(
line
.
split
())
if
img_filepath
:
load_material_image
(
context_material
,
context_material_name
,
img_filepath
,
'
refl
'
)
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment