Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
OpenWalnut Core
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
44
Issues
44
List
Boards
Labels
Service Desk
Milestones
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
OpenWalnut
OpenWalnut Core
Commits
562f69cc
Commit
562f69cc
authored
Aug 20, 2010
by
Sebastian Eichelbaum
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[FIX] - superquadrics could not find their shaders anymore. This is fixed now.
parent
d44c71df
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
src/modules/superquadricGlyphs/WMSuperquadricGlyphs.cpp
src/modules/superquadricGlyphs/WMSuperquadricGlyphs.cpp
+1
-1
No files found.
src/modules/superquadricGlyphs/WMSuperquadricGlyphs.cpp
View file @
562f69cc
...
...
@@ -45,7 +45,6 @@ W_LOADABLE_MODULE( WMSuperquadricGlyphs )
WMSuperquadricGlyphs
::
WMSuperquadricGlyphs
()
:
WModule
()
{
m_shader
=
osg
::
ref_ptr
<
WShader
>
(
new
WShader
(
"WMSuperquadricGlyphs"
,
m_localPath
)
);
m_output
=
osg
::
ref_ptr
<
WGEGroupNode
>
(
new
WGEGroupNode
()
);
}
...
...
@@ -407,6 +406,7 @@ void WMSuperquadricGlyphs::moduleMain()
WKernel
::
getRunningKernel
()
->
getGraphicsEngine
()
->
getScene
()
->
insert
(
m_output
);
// add shader
m_shader
=
osg
::
ref_ptr
<
WShader
>
(
new
WShader
(
"WMSuperquadricGlyphs"
,
m_localPath
)
);
m_shader
->
apply
(
m_output
);
// set uniform callbacks and uniforms
...
...
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