Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
F
fslpy
Manage
Activity
Members
Code
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
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
Evan Edmond
fslpy
Commits
beccc8aa
Commit
beccc8aa
authored
9 years ago
by
Paul McCarthy
Browse files
Options
Downloads
Plain Diff
Merge branch 'master' into oxford
parents
321c23a0
2d6114ea
No related branches found
No related tags found
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
fsl/fsleyes/gl/gllabel.py
+3
-3
3 additions, 3 deletions
fsl/fsleyes/gl/gllabel.py
fsl/fsleyes/gl/glvector.py
+9
-9
9 additions, 9 deletions
fsl/fsleyes/gl/glvector.py
with
12 additions
and
12 deletions
fsl/fsleyes/gl/gllabel.py
+
3
−
3
View file @
beccc8aa
...
@@ -91,9 +91,9 @@ class GLLabel(globject.GLImageObject):
...
@@ -91,9 +91,9 @@ class GLLabel(globject.GLImageObject):
"""
Returns ``True`` if this ``GLLabel`` is ready to be drawn, ``False``
"""
Returns ``True`` if this ``GLLabel`` is ready to be drawn, ``False``
otherwise.
otherwise.
"""
"""
return
self
.
shader
is
not
None
and
\
return
(
self
.
shader
is
not
None
and
self
.
imageTexture
is
not
None
and
\
self
.
imageTexture
is
not
None
and
self
.
imageTexture
.
ready
()
self
.
imageTexture
.
ready
()
)
def
addListeners
(
self
):
def
addListeners
(
self
):
...
...
This diff is collapsed.
Click to expand it.
fsl/fsleyes/gl/glvector.py
+
9
−
9
View file @
beccc8aa
...
@@ -237,15 +237,15 @@ class GLVector(globject.GLImageObject):
...
@@ -237,15 +237,15 @@ class GLVector(globject.GLImageObject):
"""
Returns ``True`` if this ``GLVector`` is ready to be drawn,
"""
Returns ``True`` if this ``GLVector`` is ready to be drawn,
``False`` otherwise.
``False`` otherwise.
"""
"""
return
all
(
(
self
.
shader
is
not
None
,
return
(
self
.
shader
is
not
None
and
self
.
imageTexture
is
not
None
,
self
.
imageTexture
is
not
None
and
self
.
modulateTexture
is
not
None
,
self
.
modulateTexture
is
not
None
and
self
.
clipTexture
is
not
None
,
self
.
clipTexture
is
not
None
and
self
.
colourTexture
is
not
None
,
self
.
colourTexture
is
not
None
and
self
.
imageTexture
.
ready
()
,
self
.
imageTexture
.
ready
()
and
self
.
modulateTexture
.
ready
()
,
self
.
modulateTexture
.
ready
()
and
self
.
clipTexture
.
ready
()
,
self
.
clipTexture
.
ready
()
and
self
.
colourTexture
.
ready
())
)
self
.
colourTexture
.
ready
())
def
addListeners
(
self
):
def
addListeners
(
self
):
...
...
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