diff options
author | Sven Gothel <[email protected]> | 2012-02-18 18:53:45 +0100 |
---|---|---|
committer | Sven Gothel <[email protected]> | 2012-02-18 18:53:45 +0100 |
commit | 063477d2a3136a3294a6f8917c87fa31f50a5467 (patch) | |
tree | b2ccd15ab47b792f3a36776f75e2e7e8810e88f8 /src/demos/dualDepthPeeling/Model.java | |
parent | 697d631bc0333b92689972ff3e621e3549fb6c80 (diff) |
Seperate dualDepthPeeling obj data; Add data anchor class
Diffstat (limited to 'src/demos/dualDepthPeeling/Model.java')
-rw-r--r-- | src/demos/dualDepthPeeling/Model.java | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/demos/dualDepthPeeling/Model.java b/src/demos/dualDepthPeeling/Model.java index 3502879..d0dc8f3 100644 --- a/src/demos/dualDepthPeeling/Model.java +++ b/src/demos/dualDepthPeeling/Model.java @@ -95,8 +95,8 @@ public class Model { // true, otherwise it returns false. // ////////////////////////////////////////////////////////////// - public boolean loadModelFromFile( String file ) { - URL fileURL = IOUtil.getResource(Model.class, file); + public boolean loadModelFromFile( Class<?> context, String file ) { + URL fileURL = IOUtil.getResource(context, file); if ( fileURL != null ) { BufferedReader input = null; |