Page MenuHome

Fix: Draw: Negative scaled objects cause wrong resource indexing
ClosedPublic

Authored by Miguel Pozo (pragma37) on Fri, Jan 20, 5:19 PM.

Details

Summary

In the new Draw Manager, when the same DrawGroup has both front and back facing instances, the front facing instances don't offset their indices accordingly.

Diff Detail

Repository
rB Blender

Event Timeline

Miguel Pozo (pragma37) requested review of this revision.Fri, Jan 20, 5:19 PM
Miguel Pozo (pragma37) created this revision.

Test file:

Clément Foucault (fclem) requested changes to this revision.Fri, Jan 20, 9:58 PM

This needs to follow the same logic as backfacing command and increment _instance_first_array when not an indexed draw.

This revision now requires changes to proceed.Fri, Jan 20, 9:58 PM

Fix non-indexed drawing

This revision is now accepted and ready to land.Mon, Jan 23, 4:53 PM