Browse Source

CMake: Adjust generated 20_panda.prc for models installation

Sam Edwards 7 years ago
parent
commit
3ac61eaf66
1 changed files with 3 additions and 0 deletions
  1. 3 0
      panda/src/configfiles/panda.prc.in

+ 3 - 0
panda/src/configfiles/panda.prc.in

@@ -10,7 +10,9 @@
 #### Generated automatically by CMake ${CMAKE_VERSION} from panda.prc.in.
 ################################# DO NOT EDIT ###########################
 
+# Some paths first...
 plugin-path $THIS_PRC_DIR/../lib
+model-path $THIS_PRC_DIR/../share/panda3d/models
 
 # Let's set up a default window size of 800x600.  The user can
 # override this in his or her personal prc file.
@@ -38,6 +40,7 @@ audio-library-name ${AUDIO_LIBRARY_NAME}
 # loaded directly into Panda.
 
 load-file-type egg pandaegg
+default-model-extension .egg
 
 
 # These entries work very similar to load-file-type, except they are