Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
ViSTA
Manage
Activity
Members
Labels
Plan
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Package registry
Model registry
Operate
Environments
Terraform modules
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Terms and privacy
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
LuFG VR VIS
VR-Group
ViSTA
Commits
76d5163e
Commit
76d5163e
authored
9 years ago
by
drausch
Browse files
Options
Downloads
Patches
Plain Diff
fixed pointer-is-NULL comparisons
parent
9ce32cd5
No related branches found
No related tags found
1 merge request
!15
Feature/clang compile fixes
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
VistaCoreLibs/VistaKernel/Stuff/VistaFrameSeriesCapture.cpp
+4
-4
4 additions, 4 deletions
VistaCoreLibs/VistaKernel/Stuff/VistaFrameSeriesCapture.cpp
with
4 additions
and
4 deletions
VistaCoreLibs/VistaKernel/Stuff/VistaFrameSeriesCapture.cpp
+
4
−
4
View file @
76d5163e
...
@@ -91,7 +91,7 @@ VistaFrameSeriesCapture::~VistaFrameSeriesCapture()
...
@@ -91,7 +91,7 @@ VistaFrameSeriesCapture::~VistaFrameSeriesCapture()
bool
VistaFrameSeriesCapture
::
InitCaptureEveryFrame
(
const
std
::
string
&
sLocation
,
const
std
::
string
&
sFilenamePattern
)
bool
VistaFrameSeriesCapture
::
InitCaptureEveryFrame
(
const
std
::
string
&
sLocation
,
const
std
::
string
&
sFilenamePattern
)
{
{
if
(
m_pWindow
==
false
)
if
(
m_pWindow
==
NULL
)
return
false
;
return
false
;
VistaType
::
microtime
nTime
=
m_pSystem
->
GetFrameClock
();
VistaType
::
microtime
nTime
=
m_pSystem
->
GetFrameClock
();
...
@@ -126,7 +126,7 @@ bool VistaFrameSeriesCapture::InitCaptureEveryFrame( const std::string& sLocatio
...
@@ -126,7 +126,7 @@ bool VistaFrameSeriesCapture::InitCaptureEveryFrame( const std::string& sLocatio
bool
VistaFrameSeriesCapture
::
InitCaptureEveryNthFrame
(
const
std
::
string
&
sLocation
,
const
std
::
string
&
sFilenamePattern
,
const
int
nFrame
)
bool
VistaFrameSeriesCapture
::
InitCaptureEveryNthFrame
(
const
std
::
string
&
sLocation
,
const
std
::
string
&
sFilenamePattern
,
const
int
nFrame
)
{
{
if
(
m_pWindow
==
false
)
if
(
m_pWindow
==
NULL
)
return
false
;
return
false
;
VistaType
::
microtime
nTime
=
m_pSystem
->
GetFrameClock
();
VistaType
::
microtime
nTime
=
m_pSystem
->
GetFrameClock
();
...
@@ -162,7 +162,7 @@ bool VistaFrameSeriesCapture::InitCaptureEveryNthFrame( const std::string& sLoca
...
@@ -162,7 +162,7 @@ bool VistaFrameSeriesCapture::InitCaptureEveryNthFrame( const std::string& sLoca
bool
VistaFrameSeriesCapture
::
InitCapturePeriodically
(
const
std
::
string
&
sLocation
,
const
std
::
string
&
sFilenamePattern
,
const
VistaType
::
microtime
nPeriod
)
bool
VistaFrameSeriesCapture
::
InitCapturePeriodically
(
const
std
::
string
&
sLocation
,
const
std
::
string
&
sFilenamePattern
,
const
VistaType
::
microtime
nPeriod
)
{
{
if
(
m_pWindow
==
false
)
if
(
m_pWindow
==
NULL
)
return
false
;
return
false
;
VistaType
::
microtime
nTime
=
m_pSystem
->
GetFrameClock
();
VistaType
::
microtime
nTime
=
m_pSystem
->
GetFrameClock
();
...
@@ -198,7 +198,7 @@ bool VistaFrameSeriesCapture::InitCapturePeriodically( const std::string& sLocat
...
@@ -198,7 +198,7 @@ bool VistaFrameSeriesCapture::InitCapturePeriodically( const std::string& sLocat
bool
VistaFrameSeriesCapture
::
InitCaptureWithFramerate
(
const
std
::
string
&
sLocation
,
const
std
::
string
&
sFilenamePattern
,
const
float
nFramerate
)
bool
VistaFrameSeriesCapture
::
InitCaptureWithFramerate
(
const
std
::
string
&
sLocation
,
const
std
::
string
&
sFilenamePattern
,
const
float
nFramerate
)
{
{
if
(
m_pWindow
==
false
)
if
(
m_pWindow
==
NULL
)
return
false
;
return
false
;
VistaType
::
microtime
nTime
=
m_pSystem
->
GetFrameClock
();
VistaType
::
microtime
nTime
=
m_pSystem
->
GetFrameClock
();
...
...
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