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:
authorAntony Riakiotakis <kalast@gmail.com>2014-08-27 17:52:24 +0400
committerAntony Riakiotakis <kalast@gmail.com>2014-08-27 17:52:24 +0400
commit57ccd29caead1d2e07014dc320e3bd8caeaf8436 (patch)
tree17a04d5452db7071da0e9d80ae0ff66ac03f55e7 /source/blender/blenkernel/BKE_material.h
parent4e3f76e06b6654d4951a54804eaa808b040ef942 (diff)
Only calculate texture paint slots from mtex if renderer is blender
internal. This should eliminate some confusion when people use external render engines.
Diffstat (limited to 'source/blender/blenkernel/BKE_material.h')
-rw-r--r--source/blender/blenkernel/BKE_material.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenkernel/BKE_material.h b/source/blender/blenkernel/BKE_material.h
index e69299a36bf..9c85c4eab95 100644
--- a/source/blender/blenkernel/BKE_material.h
+++ b/source/blender/blenkernel/BKE_material.h
@@ -86,8 +86,8 @@ short find_material_index(struct Object *ob, struct Material *ma);
bool object_add_material_slot(struct Object *ob);
bool object_remove_material_slot(struct Object *ob);
-void BKE_texpaint_slot_refresh_cache(struct Material *ma, bool use_nodes);
-void BKE_texpaint_slots_refresh_object(struct Object *ob, bool use_nodes);
+void BKE_texpaint_slot_refresh_cache(struct Scene *scene, struct Material *ma);
+void BKE_texpaint_slots_refresh_object(struct Scene *scene, struct Object *ob);
void BKE_texpaint_slots_clear(struct Material *ma);
/* rna api */