Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
M
Max Nif Plugin
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
Package Registry
Container Registry
Model registry
Operate
Environments
Terraform modules
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
Grant Kim
Max Nif Plugin
Commits
75aae72e
Commit
75aae72e
authored
16 years ago
by
Tazpn
Browse files
Options
Downloads
Patches
Plain Diff
nifskope: fix alpha property export
parent
fe3597ea
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
CHANGELOG.TXT
+2
-0
2 additions, 0 deletions
CHANGELOG.TXT
NifExport/MtlTex.cpp
+1
-1
1 addition, 1 deletion
NifExport/MtlTex.cpp
with
3 additions
and
1 deletion
CHANGELOG.TXT
+
2
−
0
View file @
75aae72e
...
...
@@ -6,6 +6,8 @@ NifTools MaxPlugin
3.4
o Exporter
- Fix issues with importing Freedom Force vs 3rd Reich animation
- Set Material name again which avoids crashes with Oblivion
- Fix alpha property so that it no longer divides by 100
o Importer
- Fix issues with importing Freedom Force vs 3rd Reich models and animation
...
...
This diff is collapsed.
Click to expand it.
NifExport/MtlTex.cpp
+
1
−
1
View file @
75aae72e
...
...
@@ -292,7 +292,7 @@ void Exporter::makeMaterial(NiAVObjectRef &parent, Mtl *mtl)
if
(
mtl
->
ClassID
()
==
Class_ID
(
DMTL_CLASS_ID
,
0
)
)
{
StdMat2
*
smtl
=
(
StdMat2
*
)
mtl
;
mtlProp
->
SetTransparency
(
smtl
->
GetOpacity
(
0
)
/
100.0
f
);
mtlProp
->
SetTransparency
(
smtl
->
GetOpacity
(
0
));
if
(
smtl
->
SupportsShaders
())
{
if
(
Shader
*
s
=
smtl
->
GetShader
())
{
...
...
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