diff options
Diffstat (limited to 'indra')
| -rw-r--r-- | indra/llaudio/llaudioengine_openal.h | 2 | ||||
| -rw-r--r-- | indra/llwindow/CMakeLists.txt | 6 | ||||
| -rw-r--r-- | indra/newview/CMakeLists.txt | 2 | ||||
| -rw-r--r-- | indra/newview/llviewerparcelmgr.cpp | 9 | 
4 files changed, 14 insertions, 5 deletions
| diff --git a/indra/llaudio/llaudioengine_openal.h b/indra/llaudio/llaudioengine_openal.h index 366f9259e3..a3cab97cd2 100644 --- a/indra/llaudio/llaudioengine_openal.h +++ b/indra/llaudio/llaudioengine_openal.h @@ -40,7 +40,7 @@ class LLAudioEngine_OpenAL : public LLAudioEngine  		LLAudioEngine_OpenAL();  		virtual ~LLAudioEngine_OpenAL(); -        virtual bool init(const S32 num_channels, void *user_data, const std::string &app_title); +        virtual bool init(void *user_data, const std::string &app_title);          virtual std::string getDriverName(bool verbose);  		virtual void allocateListener(); diff --git a/indra/llwindow/CMakeLists.txt b/indra/llwindow/CMakeLists.txt index 70eb99c86c..55befaef51 100644 --- a/indra/llwindow/CMakeLists.txt +++ b/indra/llwindow/CMakeLists.txt @@ -197,4 +197,10 @@ if (SDL_FOUND)  endif (SDL_FOUND)    target_link_libraries (llwindow ${llwindow_LINK_LIBRARIES}) +   +if (DARWIN) +  include(CMakeFindFrameworks) +  find_library(CARBON_LIBRARY Carbon) +  target_link_libraries(llwindow ${CARBON_LIBRARY}) +endif (DARWIN) diff --git a/indra/newview/CMakeLists.txt b/indra/newview/CMakeLists.txt index ae8d8d51a4..964615320d 100644 --- a/indra/newview/CMakeLists.txt +++ b/indra/newview/CMakeLists.txt @@ -1413,14 +1413,12 @@ if (DARWIN)    find_library(COCOA_LIBRARY Cocoa)    find_library(IOKIT_LIBRARY IOKit)    find_library(COREAUDIO_LIBRARY CoreAudio) -  find_library(CARBON_LIBRARY Carbon)    set(viewer_LIBRARIES      ${COCOA_LIBRARY}      ${AGL_LIBRARY}      ${IOKIT_LIBRARY}      ${COREAUDIO_LIBRARY} -    ${CARBON_LIBRARY}      )    if (USE_BUGSPLAT) diff --git a/indra/newview/llviewerparcelmgr.cpp b/indra/newview/llviewerparcelmgr.cpp index 3bd504709b..756bf12ff3 100644 --- a/indra/newview/llviewerparcelmgr.cpp +++ b/indra/newview/llviewerparcelmgr.cpp @@ -1881,8 +1881,13 @@ void LLViewerParcelMgr::processParcelProperties(LLMessageSystem *msg, void **use  	}  	else  	{ -		// Check for video -		LLViewerParcelMedia::getInstance()->update(parcel); +        if (gNonInteractive) +        { +            return; +        } +     +        // Check for video +        LLViewerParcelMedia::getInstance()->update(parcel);  		// Then check for music  		if (gAudiop) | 
