Skip to content

Commit 0c56e7f

Browse files
committed
Merge branch '3.6' of https://github.com/OpenMW/osg into 3.6
2 parents ada34a6 + 69cfece commit 0c56e7f

File tree

4 files changed

+4
-8
lines changed

4 files changed

+4
-8
lines changed

CMakeModules/FindCOLLADA.cmake

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,7 @@ FIND_PATH(COLLADA_INCLUDE_DIR dae.h
6464
${COLLADA_DOM_ROOT}/include
6565
$ENV{COLLADA_DIR}/include
6666
$ENV{COLLADA_DIR}
67+
$ENV{COLLADA_DIR}/include/collada-dom2.5
6768
~/Library/Frameworks
6869
/Library/Frameworks
6970
/opt/local/Library/Frameworks #macports
@@ -185,8 +186,7 @@ FIND_LIBRARY(COLLADA_STATIC_LIBRARY_DEBUG
185186
${ACTUAL_3DPARTY_DIR}/lib
186187
)
187188

188-
# find extra libraries that the static linking requires
189-
189+
IF (COLLADA_STATIC_LIBRARY)
190190
FIND_PACKAGE(LibXml2)
191191
IF (LIBXML2_FOUND)
192192
SET(COLLADA_LIBXML_LIBRARY "${LIBXML2_LIBRARIES}" CACHE FILEPATH "" FORCE)
@@ -309,7 +309,7 @@ FIND_LIBRARY(COLLADA_STATIC_LIBRARY_DEBUG
309309
${COLLADA_DOM_ROOT}/external-libs/boost/lib/mingw
310310
${ACTUAL_3DPARTY_DIR}/lib
311311
)
312-
312+
ENDIF()
313313

314314
SET(COLLADA_FOUND "NO")
315315
IF(COLLADA_DYNAMIC_LIBRARY OR COLLADA_STATIC_LIBRARY)

src/osg/DisplaySettings.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ void DisplaySettings::setDisplaySettings(const DisplaySettings& vs)
120120

121121
_vertexBufferHint = vs._vertexBufferHint;
122122

123-
setShaderHint(_shaderHint);
123+
setShaderHint(vs._shaderHint);
124124

125125
_keystoneHint = vs._keystoneHint;
126126
_keystoneFileNames = vs._keystoneFileNames;

src/osgPlugins/tf/ReaderWriterTF.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -162,8 +162,6 @@ class ReaderWriterTF : public osgDB::ReaderWriter
162162

163163
virtual WriteResult writeObject(const osg::Object& object, const std::string& fileName, const osgDB::ReaderWriter::Options*) const
164164
{
165-
OSG_NOTICE<<"ReaderWriterTF::writeObject"<<fileName<<std::endl;
166-
167165
const osg::TransferFunction1D* tf = dynamic_cast<const osg::TransferFunction1D*>(&object);
168166
if (!tf) return WriteResult::FILE_NOT_HANDLED;
169167

src/osgPlugins/trk/ReaderWriterTRK.cpp

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -189,8 +189,6 @@ class ReaderWriterTRK : public osgDB::ReaderWriter
189189
ReaderWriterTRK()
190190
{
191191
supportsExtension("trk","Track file format");
192-
193-
OSG_NOTICE<<"sizeof(TrkHeader)="<<sizeof(TrkHeader)<<std::endl;
194192
}
195193

196194
virtual const char* className() const { return "Track Reader/Writer"; }

0 commit comments

Comments
 (0)