Hello,
I've got a simple (stupid?) question.
I load several shapes from a single obj file.
to get the name of these objects I use the following code, but it returns each name in lower-case.
How to get the original name (this point is vital for my app).
 
Thanks in advance.
 
 
            objs= s.getNamedObjects();
            Set keys = objs.keySet();
            Iterator ite = keys.iterator();
            
            while (ite.hasNext()){
                Object obj3d = ite.next();
                Shape3D node = (Shape3D) objs.get(obj3d);

                
                String nameObj =(String) obj3d;
                node.setUserData(nameObj);
            }

Reply via email to