Advertisement
Guest User

Untitled

a guest
Nov 27th, 2015
78
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.60 KB | None | 0 0
  1. fn setUVMapping obj tWidth tPadding =
  2. (
  3.  
  4. max modify mode
  5.  
  6.  
  7. --forcecompleteredraw dodisabled:true
  8.  
  9. uvMod = Unwrap_UVW()
  10. uvMod.setApplyToWholeObject true
  11. addModifier obj (uvMod)
  12. -- set uvw channel to 2
  13. --obj.modifiers[#unwrap_uvw].unwrap.setMapChannel 2
  14. uvMod.setMapChannel 2
  15. --classof obj --asks for the class on top of the stack, thus forces an internal update
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement