Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
N
Niflib
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
Niflib
Commits
af9fdc17
Commit
af9fdc17
authored
16 years ago
by
Amorilia
Browse files
Options
Downloads
Patches
Plain Diff
nif.xml: Num Control Pt -> Num Control Points (syncing with pyffi)
parent
f8235d0c
No related branches found
Branches containing commit
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
include/obj/NiBSplineBasisData.h
+1
-1
1 addition, 1 deletion
include/obj/NiBSplineBasisData.h
src/obj/NiBSplineBasisData.cpp
+6
-6
6 additions, 6 deletions
src/obj/NiBSplineBasisData.cpp
with
7 additions
and
7 deletions
include/obj/NiBSplineBasisData.h
+
1
−
1
View file @
af9fdc17
...
...
@@ -69,7 +69,7 @@ public:
//--END CUSTOM CODE--//
protected:
/*! The number of control points (Usually number of frames for animation). */
unsigned
int
numControlP
t
;
unsigned
int
numControlP
oints
;
public:
/*! NIFLIB_HIDDEN function. For internal use only. */
NIFLIB_HIDDEN
virtual
void
Read
(
istream
&
in
,
list
<
unsigned
int
>
&
link_stack
,
const
NifInfo
&
info
);
...
...
This diff is collapsed.
Click to expand it.
src/obj/NiBSplineBasisData.cpp
+
6
−
6
View file @
af9fdc17
...
...
@@ -19,7 +19,7 @@ using namespace Niflib;
//Definition of TYPE constant
const
Type
NiBSplineBasisData
::
TYPE
(
"NiBSplineBasisData"
,
&
NiObject
::
TYPE
);
NiBSplineBasisData
::
NiBSplineBasisData
()
:
numControlP
t
((
unsigned
int
)
0
)
{
NiBSplineBasisData
::
NiBSplineBasisData
()
:
numControlP
oints
((
unsigned
int
)
0
)
{
//--BEGIN CONSTRUCTOR CUSTOM CODE--//
//--END CUSTOM CODE--//
}
...
...
@@ -42,7 +42,7 @@ void NiBSplineBasisData::Read( istream& in, list<unsigned int> & link_stack, con
//--END CUSTOM CODE--//
NiObject
::
Read
(
in
,
link_stack
,
info
);
NifStream
(
numControlP
t
,
in
,
info
);
NifStream
(
numControlP
oints
,
in
,
info
);
//--BEGIN POST-READ CUSTOM CODE--//
//--END CUSTOM CODE--//
...
...
@@ -53,7 +53,7 @@ void NiBSplineBasisData::Write( ostream& out, const map<NiObjectRef,unsigned int
//--END CUSTOM CODE--//
NiObject
::
Write
(
out
,
link_map
,
info
);
NifStream
(
numControlP
t
,
out
,
info
);
NifStream
(
numControlP
oints
,
out
,
info
);
//--BEGIN POST-WRITE CUSTOM CODE--//
//--END CUSTOM CODE--//
...
...
@@ -66,7 +66,7 @@ std::string NiBSplineBasisData::asString( bool verbose ) const {
stringstream
out
;
unsigned
int
array_output_count
=
0
;
out
<<
NiObject
::
asString
();
out
<<
" Num Control P
t
: "
<<
numControlP
t
<<
endl
;
out
<<
" Num Control P
oints
: "
<<
numControlP
oints
<<
endl
;
return
out
.
str
();
//--BEGIN POST-STRING CUSTOM CODE--//
...
...
@@ -92,11 +92,11 @@ std::list<NiObjectRef> NiBSplineBasisData::GetRefs() const {
//--BEGIN MISC CUSTOM CODE--//
unsigned
int
NiBSplineBasisData
::
GetNumControlPt
()
const
{
return
numControlP
t
;
return
numControlP
oints
;
}
void
NiBSplineBasisData
::
SetNumControlPt
(
unsigned
int
value
)
{
numControlP
t
=
value
;
numControlP
oints
=
value
;
}
//--END CUSTOM CODE--//
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