소스 검색

Merge pull request #81 from sunwaylive/patch-1

fixed a bug concerning load mesh from dialog

Former-commit-id: 132de038112050ac2b30c44e346fb87d367be39d
Alec Jacobson 10 년 전
부모
커밋
6a695e65a6
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      include/igl/file_dialog_open.cpp

+ 1 - 2
include/igl/file_dialog_open.cpp

@@ -68,9 +68,8 @@ IGL_INLINE std::string igl::file_dialog_open()
       buffer[pos] = (char)ofn.lpstrFile[pos];
       pos++;
     }
-    buffer[pos] = 0;
   } 
-  
+  buffer[pos] = 0;
 #else
   
   // For linux use zenity