Page MenuHome

mesh_f2 Blender 2.8 Patch
Closed, ResolvedPublic

Description


Here is a working patch for mesh_f2 in Blender 2.8.
Working without texture slot. Please See: line 51 to 61

Details

Type
Patch

Related Objects

Event Timeline

Fahad Hasan (cgvirus) created this object with edit policy "Task Author".
Philipp Oeser (lichtwerk) triaged this task as Normal priority.

following the discussion in F5856198:

  • still not mentioned what problem this actually solves (would be nice to mention this just like in a bug report...)?
  • still not a diff, have you had a look at how to create patches? https://wiki.blender.org/wiki/Tools/Patches
  • having a look now (this seems to remove necessary code though?)...
  • This is a conversion from 2.79 to 2.8. This is my first patch submission to Blender. Sorry if it's a wrong type of post.
  • Although I am familiar with git but can't understand how should I create a diff as I can't make my repository/fork here.
  • It seems that texture slot has been updated in 2.8. Not sure about the inner workings of texture panel of 2.8.

regarding texture_slots / uv_textures removal: I think this needs a different fix though (otherwise the whole Adjust UV functionality of the addon is broken/obsolete...)

without looking in depth, I assume it is probably best to go with ob.data.uv_layers.active
(will doublecheck later...)

Sorry, didnt want to sound harsh btw and thx for the patch [well, not a patch, but.... you get what I mean...].

No problem, F2 and Bsurface are two of the most important and unique tools for retopo in Blender. And it should be included in 2.8 officially. Let me know if there are more fix please. Would be great for the entire community.

This should loop over ob.data.uv_layers and adjust all uv layers. There is no need to tie this to materials or textures, it's not clear why the original code did that.

@Brecht Van Lommel (brecht): doing it for all UV layers: +1
@Fahad Hasan (cgvirus) : there are some other minor things (e.g. annotations), will do as well...

(will commit tomorrow, gtg now...)

Alright, Thanks folks for taking care of it. Lots of love.