Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
einsteinathome
pulsatingscience
Commits
c5af9683
Commit
c5af9683
authored
Feb 06, 2009
by
Oliver Bock
Browse files
Fixed message types
parent
8e723edb
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/pulsaranimationwidget.cpp
View file @
c5af9683
...
@@ -182,7 +182,7 @@ void PulsarAnimationWidget::initializeGL()
...
@@ -182,7 +182,7 @@ void PulsarAnimationWidget::initializeGL()
}
}
}
}
if
(
pulsarTexture
.
width
()
>
maxTextureSize
)
{
if
(
pulsarTexture
.
width
()
>
maxTextureSize
)
{
q
Debu
g
(
"Warning: maximum texture size exceeded! Scaling down pulsar texture to %ix%i..."
,
maxTextureSize
,
maxTextureSize
);
q
Warnin
g
(
"Warning: maximum texture size exceeded! Scaling down pulsar texture to %ix%i..."
,
maxTextureSize
,
maxTextureSize
);
pulsarTexture
=
pulsarTexture
.
scaled
(
maxTextureSize
,
maxTextureSize
,
Qt
::
IgnoreAspectRatio
,
Qt
::
SmoothTransformation
);
pulsarTexture
=
pulsarTexture
.
scaled
(
maxTextureSize
,
maxTextureSize
,
Qt
::
IgnoreAspectRatio
,
Qt
::
SmoothTransformation
);
}
}
...
@@ -200,7 +200,7 @@ void PulsarAnimationWidget::initializeGL()
...
@@ -200,7 +200,7 @@ void PulsarAnimationWidget::initializeGL()
}
}
}
}
if
(
backgroundTexture
.
width
()
>
maxTextureSize
)
{
if
(
backgroundTexture
.
width
()
>
maxTextureSize
)
{
q
Debu
g
(
"Warning: maximum texture size exceeded! Scaling down background texture to %ix%i..."
,
maxTextureSize
,
maxTextureSize
);
q
Warnin
g
(
"Warning: maximum texture size exceeded! Scaling down background texture to %ix%i..."
,
maxTextureSize
,
maxTextureSize
);
backgroundTexture
=
backgroundTexture
.
scaled
(
maxTextureSize
,
maxTextureSize
,
Qt
::
IgnoreAspectRatio
,
Qt
::
SmoothTransformation
);
backgroundTexture
=
backgroundTexture
.
scaled
(
maxTextureSize
,
maxTextureSize
,
Qt
::
IgnoreAspectRatio
,
Qt
::
SmoothTransformation
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment