Browse Source

make local_dev a runtime default, not a compiled default

David Rose 15 years ago
parent
commit
0d8b31f9a4
2 changed files with 3 additions and 3 deletions
  1. 1 1
      dtool/Config.pp
  2. 2 2
      dtool/src/prc/configPageManager.cxx

+ 1 - 1
dtool/Config.pp

@@ -256,7 +256,7 @@
 // You may define both of these to build or develop the Panda3D
 // rtdist, the environment packaged up for distribution with the
 // plugin.
-#define PANDA_PACKAGE_VERSION local_dev
+//#define PANDA_PACKAGE_VERSION local_dev
 //#define PANDA_PACKAGE_HOST_URL http://some.url/
 #defer HAVE_P3D_RTDIST $[PANDA_PACKAGE_HOST_URL]
 

+ 2 - 2
dtool/src/prc/configPageManager.cxx

@@ -664,7 +664,7 @@ config_initialized() {
 
 #ifndef NDEBUG
   ConfigVariableString panda_package_version
-    ("panda-package-version", "",
+    ("panda-package-version", "local_dev",
      PRC_DESC("This can be used to specify the value returned by "
               "PandaSystem::get_package_version_str(), in development mode only, "
               "and only if another value has not already been compiled in.  This "
@@ -673,7 +673,7 @@ config_initialized() {
   ConfigVariableString panda_package_host_url
     ("panda-package-host-url", "",
      PRC_DESC("This can be used to specify the value returned by "
-              "PandaSystem::get_package_url_url(), in development mode only, "
+              "PandaSystem::get_package_host_url(), in development mode only, "
               "and only if another value has not already been compiled in.  This "
               "is intended for developer convenience, to masquerade a development "
               "build of Panda as a different runtime version.  Use with caution."));