Skip to content

Commit

Permalink
Fixed crash upon clicking media prim (disabled prim media control flo…
Browse files Browse the repository at this point in the history
…ater for now). Fleshed out media browser replacement (LLFloaterWebContent).
  • Loading branch information
Shyotl committed Jun 3, 2013
1 parent c2cc65e commit 9c8cfcf
Show file tree
Hide file tree
Showing 22 changed files with 200 additions and 759 deletions.
9 changes: 8 additions & 1 deletion etc/message.xml
Original file line number Diff line number Diff line change
Expand Up @@ -718,7 +718,14 @@

<key>UploadBakedTexture</key>
<boolean>true</boolean>
</map>

<key>ObjectMedia</key>
<boolean>false</boolean>

<key>ObjectMediaNavigate</key>
<boolean>false</boolean>

</map>

<key>messageBans</key>
<map>
Expand Down
2 changes: 1 addition & 1 deletion indra/llplugin/llpluginclassmedia.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -128,7 +128,7 @@ void LLPluginClassMedia::reset_impl(void)

void LLPluginClassMedia::idle_impl(void)
{
if((mMediaWidth == -1) || (!mTextureParamsReceived) || (mPlugin == NULL) || (mPlugin->isBlocked()))
if((mMediaWidth == -1) || (!mTextureParamsReceived) || (mPlugin == NULL) || (mPlugin->isBlocked()) || (mOwner == NULL))
{
// Can't process a size change at this time
}
Expand Down
1 change: 0 additions & 1 deletion indra/newview/CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -981,7 +981,6 @@ set(viewer_HEADER_FILES
llviewerlayer.h
llviewermedia.h
llviewermediafocus.h
llviewermediaobserver.h
llviewermenu.h
llviewermenufile.h
llviewermessage.h
Expand Down
11 changes: 0 additions & 11 deletions indra/newview/app_settings/settings.xml
Original file line number Diff line number Diff line change
Expand Up @@ -2247,17 +2247,6 @@ This should be as low as possible, but too low may break functionality</string>
<key>Value</key>
<integer>1</integer>
</map>
<key>AudioStreamingVideo</key>
<map>
<key>Comment</key>
<string>Enable streaming video</string>
<key>Persist</key>
<integer>1</integer>
<key>Type</key>
<string>Boolean</string>
<key>Value</key>
<integer>0</integer>
</map>
<key>AuditTexture</key>
<map>
<key>Comment</key>
Expand Down
Loading

0 comments on commit 9c8cfcf

Please sign in to comment.