Compile fix
parent
7b2cc02863
commit
1db06992f4
|
|
@ -1118,6 +1118,13 @@ void LLAgent::removeRegionChangedCallback(boost::signals2::connection callback)
|
|||
mRegionChangedSignal.disconnect(callback);
|
||||
}
|
||||
|
||||
// <FS:Ansariel> Aurora sim windlight refresh
|
||||
void LLAgent::changeRegion()
|
||||
{
|
||||
mRegionChangedSignal();
|
||||
}
|
||||
// </FS:Ansariel>
|
||||
|
||||
//-----------------------------------------------------------------------------
|
||||
// inPrelude()
|
||||
//-----------------------------------------------------------------------------
|
||||
|
|
|
|||
|
|
@ -255,6 +255,9 @@ private:
|
|||
LLHost getRegionHost() const;
|
||||
BOOL inPrelude();
|
||||
|
||||
// <FS:Ansariel> Aurora sim windlight refresh
|
||||
void changeRegion();
|
||||
|
||||
/**
|
||||
* Register a boost callback to be called when the agent changes regions
|
||||
* Note that if you need to access a capability for the region, you may need to wait
|
||||
|
|
|
|||
|
|
@ -777,7 +777,9 @@ class WindLightRefresh : public LLHTTPNode
|
|||
}
|
||||
llinfos << "Windlight Refresh , interpolate:" << env->mInterpNextChangeMessage << llendl;
|
||||
env->requestRegionSettings();
|
||||
env->mRegionChangeSignal();
|
||||
|
||||
// Ansa: This cause the windlight editor and others to update since the windlight has changed!
|
||||
gAgent.changeRegion();
|
||||
}
|
||||
};
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue