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
3ed6c4a5
Commit
3ed6c4a5
authored
9 years ago
by
figment
Browse files
Options
Downloads
Patches
Plain Diff
Fix Biped name string casting issue for older versions
parent
e2dc044e
No related branches found
Branches containing commit
No related tags found
Tags containing commit
No related merge requests found
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
NifImport/ImportSkeleton.cpp
+1
-1
1 addition, 1 deletion
NifImport/ImportSkeleton.cpp
build.bat
+5
-3
5 additions, 3 deletions
build.bat
makeconfig.bat
+12
-10
12 additions, 10 deletions
makeconfig.bat
with
18 additions
and
14 deletions
NifImport/ImportSkeleton.cpp
+
1
−
1
View file @
3ed6c4a5
...
...
@@ -173,7 +173,7 @@ void NifImporter::ImportBipeds(vector<NiNodeRef>& nodes)
if
(
master
)
{
master
->
SetRootName
(
bipname
.
c_str
());
master
->
SetRootName
(
const_cast
<
LPTSTR
>
(
bipname
.
c_str
())
)
;
//if (INode *rootNode = gi->GetINodeByName(bipname.c_str())) {
// if (Control *c = rootNode->GetTMController()) {
...
...
This diff is collapsed.
Click to expand it.
build.bat
+
5
−
3
View file @
3ed6c4a5
@echo
on
IF
EXIST
"setbuildenv.bat"
call
setbuildenv
.bat
pushd
"
%~dp0
"
setlocal
IF
EXIST
"setbuildenv.bat"
call
setbuildenv
.bat
REM using delayed expansion ! instead of % as it just works better with ProgramFiles(x86) env variable
IF
EXIST
"
%ProgramFiles
(x86)
%
"
set
Program_32
=
%ProgramFiles
(
x86
)
%
...
...
@@ -30,7 +29,10 @@ if "%MAXINSTALLPATH2015%" == "" set MAXINSTALLPATH2015=%Program_32%\AutoDesk\3ds
if
"
%MAXINSTALLPATH2
016
%
"
==
""
set
MAXINSTALLPATH2016
=
%Program
_32
%
\AutoDesk\3ds
Max
2016
SDK
REM svn update
set
SUPPRESS_BUILD_CONFIG
=
0
call
makeconfig
.bat
set
SUPPRESS_BUILD_CONFIG
=
1
IF
EXIST
"
%GMAXINSTALLPATH1
2
%
"
msbuild
NifPlugins
.sln
"/p:Configuration=Release - gmax"
/p
:Platform
=
Win32
IF
EXIST
"
%MAXINSTALLPATH4
2
%
"
msbuild
NifPlugins
.sln
"/p:Configuration=Release - Max 4.2"
/p
:Platform
=
Win32
IF
EXIST
"
%MAXINSTALLPATH5
0
%
"
msbuild
NifPlugins
.sln
"/p:Configuration=Release - Max 5"
/p
:Platform
=
Win32
...
...
This diff is collapsed.
Click to expand it.
makeconfig.bat
+
12
−
10
View file @
3ed6c4a5
@echo
off
REM Quick script to create config.h
pushd
"
%~dp0
"
setlocal
IF
NOT
"
%SUPPRESS_BUILD_CONFIG%
"
==
"1"
(
set
WCREV
=
0
set
WCDATE
=
set
WCURL
=
set
WCREV
=
0
set
WCDATE
=
set
WCURL
=
for
/f
"usebackq delims=|"
%%i
in
(
`git log -1 "--pretty=format:
%%h
"`
)
do
set
WCREV
=
%%i
for
/f
"usebackq delims=|"
%%i
in
(
`git log -1 "--pretty=format:
%%cd
"`
)
do
set
WCDATE
=
%%i
for
/f
"usebackq delims=|"
%%i
in
(
`git config --get remote.origin.url`
)
do
set
WCURL
=
%%i
sed
"s/[$]WCREV[$]/
%WCREV%
/g"
<
NifCommon
/config
.h.in
|
sed
"s/[$]WCDATE[$]/
%WCDATE%
/g"
|
sed
"s
!
[$]WCURL[$]
!%WCURL%!
g"
>
NifCommon
/config
.h
endlocal
\ No newline at end of file
for
/f
"usebackq delims=|"
%%i
in
(
`git log -1 "--pretty=format:
%%h
"`
)
do
set
WCREV
=
%%i
for
/f
"usebackq delims=|"
%%i
in
(
`git log -1 "--pretty=format:
%%cd
"`
)
do
set
WCDATE
=
%%i
for
/f
"usebackq delims=|"
%%i
in
(
`git config --get remote.origin.url`
)
do
set
WCURL
=
%%i
sed
"s/[$]WCREV[$]/
%WCREV%
/g"
<
NifCommon
/config
.h.in
|
sed
"s/[$]WCDATE[$]/
%WCDATE%
/g"
|
sed
"s
!
[$]WCURL[$]
!%WCURL%!
g"
>
NifCommon
/config
.h
)
endlocal
popd
\ No newline at end of file
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