Description: <short summary of the patch>
 TODO: Put a short summary on the line above and replace this paragraph
 with a longer explanation of this change. Complete the meta-information
 with other relevant fields (see below for details). To make it easier, the
 information below has been extracted from the changelog. Adjust it or drop
 it.
 .
 rock-master-19.06-gui-osgviz (0.20190327-1~jessie) unstable; urgency=low
 .
   * Package automatically built using 'apaka'
   * repository: github:/rock-core/gui-osgviz.git
   * branch: refs/heads/master
   * commit: 26c11534c84f257859af9a1db979fd9e0b333f5c
   * tag:
Author: Packaging Daemon <rock-dev@dfki.de>

---
The information above should follow the Patch Tagging Guidelines, please
checkout http://dep.debian.net/deps/dep3/ to learn about the format. Here
are templates for supplementary fields that you might want to add:

Origin: <vendor|upstream|other>, <url of original patch>
Bug: <url in upstream bugtracker>
Bug-Debian: https://bugs.debian.org/<bugnumber>
Bug-Ubuntu: https://launchpad.net/bugs/<bugnumber>
Forwarded: <no|not-needed|url proving that it has been forwarded>
Reviewed-By: <name and email of someone who approved the patch>
Last-Update: 2020-01-25

--- rock-master-19.06-gui-osgviz-0.20190327.orig/src/Main.cpp
+++ rock-master-19.06-gui-osgviz-0.20190327/src/Main.cpp
@@ -51,20 +51,20 @@ int main(int argc, char** argv)
 
         try {
             std::shared_ptr<osgviz::ModelLoader> primitivesfactory3 = osgviz::OsgViz::getModuleInstance<osgviz::ModelLoader>("PrimitivesFactory2");
-        
+
         } catch (std::runtime_error e){
             printf("%s\n", e.what());
         }
-                        
-        
+
+
 	osgviz::OsgViz::printModules();
 
-	printf("PF \n\t%p \n\t%p\n\t%p\n",primitivesfactory,primitivesfactory2,primitivesfactory3);
+	printf("PF \n\t%p \n\t%p\n\t%p\n",primitivesfactory.get(),primitivesfactory2.get(),primitivesfactory3.get());
 
 	if (!primitivesfactory){
 		printf("plugin not found\n");	fflush(stdout);
 	}
-	
+
 	osg::ref_ptr<osgviz::Object> grid = primitivesfactory->createGrid();
 	osgViz->addChild(grid);
 
@@ -75,7 +75,7 @@ int main(int argc, char** argv)
 
 	osg::ref_ptr<osgviz::Object> axes = primitivesfactory->createAxes();
 	osgViz->addChild(axes);
-	
+
 	printf("creating window\n");fflush(stdout);
 
 	int winid = osgViz->createWindow();
