Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2007-09-19 20:28:52 +0400
committerCampbell Barton <ideasman42@gmail.com>2007-09-19 20:28:52 +0400
commit28ae78a745bab375ee227be8846479a4afc02ffd (patch)
treeb69d30c61a66b1a8e430c78f149154d96d1967f0 /source/blender/include
parent1c603b63c712a539056e122f3facbfdfcc3dd912 (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')
-rw-r--r--source/blender/include/BIF_editmesh.h1
-rw-r--r--source/blender/include/blendef.h4
2 files changed, 3 insertions, 2 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);
diff --git a/source/blender/include/blendef.h b/source/blender/include/blendef.h
index 490d5532ce5..5db45b6571f 100644
--- a/source/blender/include/blendef.h
+++ b/source/blender/include/blendef.h
@@ -303,8 +303,8 @@
#define B_SIMAGEHOME 351
#define B_SIMABROWSE 352
#define B_SIMAGELOAD 353
-#define B_SIMAGETILE1 354
-#define B_SIMAGETILE2 355
+#define B_SIMA_REDR_IMA_3D 354
+#define B_SIMAGETILE 355
#define B_BE_SQUARE 356
#define B_TWINANIM 357
#define B_SIMAGEREPLACE 358