Page MenuHome

2.8x: Remove texface, use material edit-image instead

Authored by Campbell Barton (campbellbarton) on May 23 2017, 1:15 PM.



For full proposal see: T51382


  • The workflow for UV-editing now uses the active face materials 'edit-image' instead of active 'texface'.

    This uses BKE_object_material_edit_image_get/set for most of the API, so we can more easily change internal storage later if we want.
  • Baking also uses edit-image instead of texface.
  • Game engine uses edit-image too, this isn't correct, its more a place-holder alternative to showing nothing.
  • Game engine image text no longer works *(could be supported but would need some changes to API to pass around an image/material)*.

Diff Detail

rB Blender
Build Status
Buildable 660
Build 660: arc lint + arc unit

Event Timeline

Campbell Barton (campbellbarton) retitled this revision from Remove texface, use material edit-image instead. to 2.8x: Remove texface, use material edit-image instead.May 23 2017, 1:21 PM
Campbell Barton (campbellbarton) edited the summary of this revision. (Show Details)
  • Add missing extern call

Only did quick check, but lgtm. Nice to see so much ugly code in the “red area”! :D


typo, feature ;)

This revision is now accepted and ready to land.May 23 2017, 1:54 PM
  • Remove object from multi-res baker (use material aligned array instead)
  • Remove TexFace from collada

This feature is very boring in UPBGE and in blender with mtexpoly here. For the moment it was removed in the UPBGE sources but i don't know if it's acceptable for you @Campbell Barton (campbellbarton).


The intent of this patch is to keep 2.8 working as-is. besides removing TexFace. Thats why I made this note.

It seems like we will probably remove this feature later anyway (which is why I didn't make some API change to keep it supported).

Committed to 2.8 branch: