As Wojnarowski noted, the move helps both sides, as the Rockets get the secondary wing player they coveted and the Nuggets get a backup for Ty Lawson after trading away disgruntled guard Andre Miller.
This move also means that Rockets general manager Daryl Morey keeps up his streak of making trades on deadline day. We've reached seven straight years now.