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
FSL
fsleyes
fsleyes
Commits
e917f7c3
Commit
e917f7c3
authored
May 03, 2022
by
Paul McCarthy
🚵
Browse files
Merge branch 'bf/tracto-shaders' into 'master'
Bf/tracto shaders See merge request fsl/fsleyes/fsleyes!318
parents
9b424ae1
2ee9599a
Changes
3
Hide whitespace changes
Inline
Side-by-side
CHANGELOG.rst
View file @
e917f7c3
...
...
@@ -10,6 +10,18 @@ This document contains the ``fsleyes`` release history in reverse
chronological
order
.
1.4.1
(
Tuesday
3
rd
May
2022
)
----------------------------
Fixed
^^^^^
*
Fixed
an
issue
with
2
D
tractogram
display
on
macOS
(
!318).
1.4.0
(
Monday
2
nd
May
2022
)
---------------------------
...
...
fsleyes/gl/gl33/gltractogram_funcs.py
View file @
e917f7c3
...
...
@@ -76,7 +76,7 @@ def compileShaders(self):
const
=
{
'colourMode'
:
colourMode
,
'clipMode'
:
clipMode
,
'lighting'
:
Tru
e
'lighting'
:
self
.
threede
e
}
progs
=
[]
...
...
fsleyes/gl/gltractogram.py
View file @
e917f7c3
...
...
@@ -414,7 +414,6 @@ class GLTractogram(globject.GLObject):
shader
.
set
(
'colourScale'
,
colourScale
)
shader
.
set
(
'colourOffset'
,
colourOffset
)
shader
.
set
(
'resolution'
,
opts
.
resolution
)
shader
.
set
(
'lighting'
,
False
)
for
shader
in
self
.
iterShaders
(
'orientation'
,
[
'vertexData'
,
'imageData'
]):
...
...
@@ -438,7 +437,6 @@ class GLTractogram(globject.GLObject):
shader
.
set
(
'modulateAlpha'
,
opts
.
modulateAlpha
)
shader
.
set
(
'modScale'
,
modScale
)
shader
.
set
(
'modOffset'
,
modOffset
)
shader
.
set
(
'lighting'
,
False
)
def
updateColourData
(
self
,
refresh
=
True
):
...
...
Write
Preview
Supports
Markdown
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