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
54ad634c
Commit
54ad634c
authored
18 years ago
by
Amorilia
Browse files
Options
Downloads
Patches
Plain Diff
Make things compile under linux GCC.
parent
e47e7d3d
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
NIF_IO.h
+2
-2
2 additions, 2 deletions
NIF_IO.h
nif_math.h
+1
-0
1 addition, 0 deletions
nif_math.h
niflib.cpp
+1
-1
1 addition, 1 deletion
niflib.cpp
with
4 additions
and
3 deletions
NIF_IO.h
+
2
−
2
View file @
54ad634c
...
...
@@ -440,7 +440,7 @@ void NifStream( vector<T> const & val, ostream& file, uint version = 0 ) {
template
<
class
T
>
void
NifStream
(
vector
<
Key
<
T
>
>
&
val
,
istream
&
file
,
uint
version
,
uint
attr_arg
)
{
vector
<
Key
<
T
>
>::
iterator
it
;
typename
vector
<
Key
<
T
>
>::
iterator
it
;
for
(
it
=
val
.
begin
();
it
!=
val
.
end
();
++
it
)
{
NifStream
(
*
it
,
file
,
version
,
attr_arg
);
}
...
...
@@ -448,7 +448,7 @@ void NifStream( vector<Key<T> > & val, istream& file, uint version, uint attr_ar
template
<
class
T
>
void
NifStream
(
vector
<
Key
<
T
>
>
const
&
val
,
ostream
&
file
,
uint
version
,
uint
attr_arg
)
{
vector
<
Key
<
T
>
>::
const_iterator
it
;
typename
vector
<
Key
<
T
>
>::
const_iterator
it
;
for
(
it
=
val
.
begin
();
it
!=
val
.
end
();
++
it
)
{
NifStream
(
*
it
,
file
,
version
,
attr_arg
);
}
...
...
This diff is collapsed.
Click to expand it.
nif_math.h
+
1
−
0
View file @
54ad634c
...
...
@@ -36,6 +36,7 @@ POSSIBILITY OF SUCH DAMAGE. */
#include
<cmath>
#include
<iostream>
#include
<stdexcept>
using
namespace
std
;
...
...
This diff is collapsed.
Click to expand it.
niflib.cpp
+
1
−
1
View file @
54ad634c
...
...
@@ -814,7 +814,7 @@ void MergeSceneGraph( map<string,NiAVObjectRef> & name_map, const NiAVObjectRef
//par_par->GetAttr("Children")->RemoveLinks( par );
//Get the block to attatch to
NiObjectRef
attatch
=
name_map
[
par_par
->
name
];
NiObjectRef
attatch
=
DynamicCast
<
NiObject
>
(
name_map
[
par_par
->
name
]
)
;
//TODO: Implement children
////Add this block as new child
...
...
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