diff options
author | Campbell Barton <ideasman42@gmail.com> | 2007-09-19 20:28:52 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2007-09-19 20:28:52 +0400 |
commit | 28ae78a745bab375ee227be8846479a4afc02ffd (patch) | |
tree | b69d30c61a66b1a8e430c78f149154d96d1967f0 /source/blender/include/BIF_editmesh.h | |
parent | 1c603b63c712a539056e122f3facbfdfcc3dd912 (diff) |
reworked how tile functions, seperated image and tile setting functions/events and made tile work with image pinning.
changed how image replace works,
it used to load a new image and then assign that image to all faces in meshes active UV layer.
without replacing images in textures or images on inactive UV layers
now it simply changes the filename of the existing image and reloads the contense.
This is different in some other subtle ways,
1) replace used to use an existing image if it was available,
this could be confusing because when I replaced with an image I didnt like, but had alredy applied to objects in some other scene, replacing again would alter the images from models unintentionally.
2) since replace used to load a new image, it would load with a new name. at the moment the name is left unchanged,
This is better when dealing with linked libraries. because when replacing a images, anything linking to that texture gets broken. since imaged can get automatically named strings longer then its possible to enter into the user interface, you could wind up with some really annoying cases where it wasnt possible to type in the original name again.
Since this replace effects everything usiung the image, we may want to have 2 replace functions, "Replace Globaly" and "Replace in Mesh"
Diffstat (limited to 'source/blender/include/BIF_editmesh.h')
-rw-r--r-- | source/blender/include/BIF_editmesh.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/include/BIF_editmesh.h b/source/blender/include/BIF_editmesh.h index 2a6f3e4b559..6539fe00b80 100644 --- a/source/blender/include/BIF_editmesh.h +++ b/source/blender/include/BIF_editmesh.h @@ -223,6 +223,7 @@ extern void join_triangles(void); extern void edge_flip(void); extern void fill_mesh(void); extern void bevel_menu(); +void mesh_set_face_flags(short mode); extern void mesh_set_smooth_faces(short event); extern void mesh_rotate_uvs(void); extern void mesh_mirror_uvs(void); |