void LLPropertiesObserver::changed(U32 mask) { // if there's a change we're interested in. if((mask & (LLInventoryObserver::LABEL | LLInventoryObserver::INTERNAL | LLInventoryObserver::REMOVE)) != 0) { mFloater->dirty(); } }
//static void LLFloaterProperties::dirtyAll() { LLFloaterReg::const_instance_list_t& inst_list = LLFloaterReg::getFloaterList("properties"); for (LLFloaterReg::const_instance_list_t::const_iterator iter = inst_list.begin(); iter != inst_list.end(); ++iter) { LLFloaterProperties* floater = dynamic_cast<LLFloaterProperties*>(*iter); llassert(floater); // else cast failed - wrong type D: if (floater) { floater->dirty(); } } }