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:
authorSergey Sharybin <sergey.vfx@gmail.com>2018-09-05 16:56:50 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2018-09-05 16:56:50 +0300
commit94ec80d21cc437c56dde8b8ff04a852810656eb7 (patch)
tree3c96802d6d92c47419f827f61f88b61b46dd8ec6 /source/blender/blenkernel/BKE_ccg.h
parent44d4a61ed03ac6fc51485ea5621f45098817bcee (diff)
CCG: Remove number of layers from key
The issue there was that number of layers did not include normals, while element size counts bytes used by normals. This sounds very fragile and dangerous to work further. Also, one value can easily be delivered from another, so it is redundancy going on here. Possible difference now is that multires subdivision will copy normals to a higher levels. Shouldn't be big of a problem, since leaving old normals and updating coordinates is not correct either.
Diffstat (limited to 'source/blender/blenkernel/BKE_ccg.h')
-rw-r--r--source/blender/blenkernel/BKE_ccg.h1
1 files changed, 0 insertions, 1 deletions
diff --git a/source/blender/blenkernel/BKE_ccg.h b/source/blender/blenkernel/BKE_ccg.h
index 7d5d423282d..65d4688947e 100644
--- a/source/blender/blenkernel/BKE_ccg.h
+++ b/source/blender/blenkernel/BKE_ccg.h
@@ -72,7 +72,6 @@ typedef struct CCGKey {
* true */
int mask_offset;
- int num_layers;
int has_normals;
int has_mask;
} CCGKey;