Merge branch 'release/1.9.x'

This commit is contained in:
rdb 2015-05-02 22:17:29 +02:00
commit 5f875239f2
5 changed files with 9 additions and 2 deletions

View File

@ -4,6 +4,7 @@ __all__ = ['Actor']
from pandac.PandaModules import *
from direct.showbase.DirectObject import DirectObject
from direct.directnotify import DirectNotifyGlobal
from pandac.PandaModules import LODNode
import types, copy
@ -12,7 +13,7 @@ class Actor(DirectObject, NodePath):
Actor class: Contains methods for creating, manipulating
and playing animations on characters
"""
notify = directNotify.newCategory("Actor")
notify = DirectNotifyGlobal.directNotify.newCategory("Actor")
partPrefix = "__Actor_"
modelLoaderOptions = LoaderOptions(LoaderOptions.LFSearch |

View File

@ -2,7 +2,7 @@
#include "mutexWin32Impl.cxx"
#include "mutexSpinlockImpl.cxx"
#include "neverFreeMemory.cxx"
#include "pdtoa.c"
#include "pdtoa.cxx"
#include "pstrtod.cxx"
#include "register_type.cxx"
#include "typeHandle.cxx"

View File

@ -22,6 +22,8 @@
#include "geomVertexWriter.h"
#include "geomVertexRewriter.h"
#include "geomPoints.h"
#include "geomLines.h"
#include "geomTriangles.h"
#include "preparedGraphicsObjects.h"
#include "internalName.h"
#include "bamReader.h"

View File

@ -180,6 +180,10 @@ clear_window() {
////////////////////////////////////////////////////////////////////
bool FrameRateMeter::
cull_callback(CullTraverser *trav, CullTraverserData &data) {
// This triggers when you try to parent a frame rate meter into
// the scene graph yourself. Instead, use setup_window().
nassertr(_display_region != NULL, false);
Thread *current_thread = trav->get_current_thread();
// Statistics