AnimalLogic / AL_USDMaya

This repo is no longer updated. Please see https://github.com/Autodesk/maya-usd
Other
266 stars 69 forks source link

make getRenderAttris update showRender #87

Closed pmolodo closed 6 years ago

pmolodo commented 6 years ago

Description (this won't be part of the changelog)

Mostly a code organization change, though it does prevent m_params.showGuides from being updated twice in ProxyDrawOverride::prepareForDraw (once by ProxyShape::getRenderAttris, and once in the function body).

Was motivated by some internal tweaks of mine, that needed to call getRenderAttris, but organizationally it makes sense that if we're updating showGuides, we should update showRender too.

Changelog

Changed

Checklist (Please do not remove this line)