You cannot select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
openmw-tes3coop/components/sceneutil
elsid 14daadded7
Add virtual destructors
To fix warnings:
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:588:8: warning: delete called on non-final 'NifOsg::ControllerFunction' that has virtual functions but non-virtual destructor
      [-Wdelete-non-virtual-dtor]
              delete __p;
              ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:595:4: note: in instantiation of function template specialization
      'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count<NifOsg::ControllerFunction *>' requested here
        : __shared_count(__p)
          ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr_base.h:1079:17: note: in instantiation of function template specialization
      'std::__shared_count<__gnu_cxx::_S_atomic>::__shared_count<NifOsg::ControllerFunction *>' requested here
        : _M_ptr(__p), _M_refcount(__p, typename is_array<_Tp>::type())
                       ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/shared_ptr.h:129:25: note: in instantiation of function template specialization 'std::__shared_ptr<NifOsg::ControllerFunction,
      __gnu_cxx::_S_atomic>::__shared_ptr<NifOsg::ControllerFunction, void>' requested here
        shared_ptr(_Yp* __p) : __shared_ptr<_Tp>(__p) { }
                               ^
/home/elsid/dev/openmw/components/nifosg/nifloader.cpp:242:39: note: in instantiation of function template specialization 'std::shared_ptr<NifOsg::ControllerFunction>::shared_ptr<NifOsg::ControllerFunction, void>' requested here
                callback->setFunction(std::shared_ptr<NifOsg::ControllerFunction>(new NifOsg::ControllerFunction(key)));
                                      ^

/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/unique_ptr.h:78:2: warning: delete called on non-final 'MWGui::ResponseCallback' that has virtual functions but non-virtual destructor
      [-Wdelete-non-virtual-dtor]
        delete __ptr;
        ^
/usr/bin/../lib64/gcc/x86_64-pc-linux-gnu/7.3.1/../../../../include/c++/7.3.1/bits/unique_ptr.h:268:4: note: in instantiation of member function 'std::default_delete<MWGui::ResponseCallback>::operator()' requested here
          get_deleter()(__ptr);
          ^
/home/elsid/dev/openmw/apps/openmw/mwgui/dialogue.cpp:58:23: note: in instantiation of member function 'std::unique_ptr<MWGui::ResponseCallback, std::default_delete<MWGui::ResponseCallback> >::~unique_ptr' requested here
    PersuasionDialog::PersuasionDialog(ResponseCallback* callback)
                      ^
7 years ago
..
attach.cpp Move double buffering implementation inside RigGeometry 7 years ago
attach.hpp Speed up finding of attachment node by using the cached nodeMap 8 years ago
clone.cpp Add custom version of MorphGeometry replacing osgAnimation 7 years ago
clone.hpp Add SceneManager and clone utility 10 years ago
controller.cpp Fixes for building in MSVC 8 years ago
controller.hpp Add virtual destructors 7 years ago
lightcontroller.cpp Move observer_ptr include where it belongs 9 years ago
lightcontroller.hpp Pass a Vec4f by reference 9 years ago
lightmanager.cpp use own inline hash_combine function 8 years ago
lightmanager.hpp Refactor LightListCallback to allow for integration in custom Drawables. 8 years ago
lightutil.cpp Make actors with non-portable lights in inventory glow (Closes #2042, #3338) 8 years ago
lightutil.hpp Make actors with non-portable lights in inventory glow (Closes #2042, #3338) 8 years ago
morphgeometry.cpp Remove redundant _boundingBoxComputed which no longer exists in osg master (Fixes #4075) 7 years ago
morphgeometry.hpp Fix intersections with Rig/MorphGeometry, was caused by an issue in the LineSegmentIntersector not respecting the cullingActive flag of a drawable. 7 years ago
optimizer.cpp Fix the optimizer messing up LOD node's children (Fixes #4301) 7 years ago
optimizer.hpp Fix the optimizer messing up LOD node's children (Fixes #4301) 7 years ago
pathgridutil.cpp Changes to color scheme, slight change to drag indicator, 9 years ago
pathgridutil.hpp Drag indicator. 9 years ago
positionattitudetransform.cpp Use a single-precision PositionAttitudeTransform in speed critical places 9 years ago
positionattitudetransform.hpp Use a single-precision PositionAttitudeTransform in speed critical places 9 years ago
riggeometry.cpp Fix intersections with Rig/MorphGeometry, was caused by an issue in the LineSegmentIntersector not respecting the cullingActive flag of a drawable. 7 years ago
riggeometry.hpp Fix intersections with Rig/MorphGeometry, was caused by an issue in the LineSegmentIntersector not respecting the cullingActive flag of a drawable. 7 years ago
serialize.cpp Add custom version of MorphGeometry replacing osgAnimation 7 years ago
serialize.hpp Add 'showSceneGraph' command to export the scene or a particular object to .osgt for debugging purposes 8 years ago
skeleton.cpp Don't update off-screen animations 7 years ago
skeleton.hpp Don't update off-screen animations 7 years ago
statesetupdater.cpp Change some osg::clone's to direct copy constructor to avoid dynamic_cast overhead 8 years ago
statesetupdater.hpp StateSetUpdater: use the frameNumber 9 years ago
unrefqueue.cpp Add resource statistics panel opened with F4 8 years ago
unrefqueue.hpp Add resource statistics panel opened with F4 8 years ago
util.cpp Fix some style issues flagged by cppcheck 7 years ago
util.hpp Fix some style issues flagged by cppcheck 7 years ago
visitor.cpp use bbox as wrap range & apply to all particle systems 7 years ago
visitor.hpp use bbox as wrap range & apply to all particle systems 7 years ago
waterutil.cpp Move water mesh + simple state generation to components library. 9 years ago
waterutil.hpp Move water mesh + simple state generation to components library. 9 years ago
workqueue.cpp Fix some style issues flagged by cppcheck 7 years ago
workqueue.hpp Add resource statistics panel opened with F4 8 years ago
writescene.cpp Add 'showSceneGraph' command to export the scene or a particular object to .osgt for debugging purposes 8 years ago
writescene.hpp Add 'showSceneGraph' command to export the scene or a particular object to .osgt for debugging purposes 8 years ago