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
322f2bf8
"docs.it4i/software/intel/intel-xeon-phi-salomon.md" did not exist on "199702835d2b605669ec2bb5afcd8f701008c927"
Commit
322f2bf8
authored
14 years ago
by
Campbell Barton
Browse files
Options
Downloads
Patches
Plain Diff
update for changes in rna api
parent
2a7343b8
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
io_import_images_as_planes.py
+6
-6
6 additions, 6 deletions
io_import_images_as_planes.py
space_view3d_materials_utils.py
+4
-4
4 additions, 4 deletions
space_view3d_materials_utils.py
with
10 additions
and
10 deletions
io_import_images_as_planes.py
+
6
−
6
View file @
322f2bf8
...
...
@@ -330,9 +330,9 @@ def main(filePath, options, mapping, dimension):
# Put Image into UVTextureLayer
plane
.
data
.
uv_textures
[
0
].
data
[
0
].
image
=
img
plane
.
data
.
uv_textures
[
0
].
data
[
0
].
tex
=
True
plane
.
data
.
uv_textures
[
0
].
data
[
0
].
transp
=
'
ALPHA
'
plane
.
data
.
uv_textures
[
0
].
data
[
0
].
twoside
=
True
plane
.
data
.
uv_textures
[
0
].
data
[
0
].
use_texture
=
True
plane
.
data
.
uv_textures
[
0
].
data
[
0
].
blend_mode
=
'
ALPHA
'
plane
.
data
.
uv_textures
[
0
].
data
[
0
].
use_
twoside
=
True
plane
.
select
=
True
scene
.
objects
.
active
=
plane
...
...
@@ -359,9 +359,9 @@ def main(filePath, options, mapping, dimension):
# Put image into UVTextureLayer
plane
.
data
.
uv_textures
[
0
].
data
[
0
].
image
=
img
plane
.
data
.
uv_textures
[
0
].
data
[
0
].
tex
=
True
plane
.
data
.
uv_textures
[
0
].
data
[
0
].
transp
=
'
ALPHA
'
plane
.
data
.
uv_textures
[
0
].
data
[
0
].
twoside
=
True
plane
.
data
.
uv_textures
[
0
].
data
[
0
].
use_texture
=
True
plane
.
data
.
uv_textures
[
0
].
data
[
0
].
blend_mode
=
'
ALPHA
'
plane
.
data
.
uv_textures
[
0
].
data
[
0
].
use_
twoside
=
True
plane
.
select
=
True
scene
.
objects
.
active
=
plane
...
...
This diff is collapsed.
Click to expand it.
space_view3d_materials_utils.py
+
4
−
4
View file @
322f2bf8
...
...
@@ -213,11 +213,11 @@ def mat_to_texface():
#check that material had an image!
if
images
[
f
.
material_index
]
!=
None
:
uvtex
[
f
.
index
].
image
=
images
[
f
.
material_index
]
uvtex
[
f
.
index
].
tex
=
True
uvtex
[
f
.
index
].
use_texture
=
True
else
:
uvtex
[
f
.
index
].
tex
=
False
me
.
update
uvtex
[
f
.
index
].
use_texture
=
False
me
.
update
()
if
editmode
:
...
...
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