[Bf-blender-cvs] [1d7bd0c] alembic_pointcache: Removed unused Scene argument from reader/writer api functions.

Lukas Tönne noreply at git.blender.org
Thu Oct 16 16:52:49 CEST 2014


Commit: 1d7bd0c5b2c4879b7614d72da5d31ecb3c91c6e5
Author: Lukas Tönne
Date:   Fri Oct 18 10:11:51 2013 +0200
Branches: alembic_pointcache
https://developer.blender.org/rB1d7bd0c5b2c4879b7614d72da5d31ecb3c91c6e5

Removed unused Scene argument from reader/writer api functions.

===================================================================

M	source/blender/pointcache/PTC_api.cpp
M	source/blender/pointcache/PTC_api.h

===================================================================

diff --git a/source/blender/pointcache/PTC_api.cpp b/source/blender/pointcache/PTC_api.cpp
index a49fec4..301e9ed 100644
--- a/source/blender/pointcache/PTC_api.cpp
+++ b/source/blender/pointcache/PTC_api.cpp
@@ -66,7 +66,7 @@ void PTC_read_sample(struct PTCReader *_reader)
 
 
 /* Particles */
-PTCWriter *PTC_writer_particles(Scene *scene, Object *ob, ParticleSystem *psys)
+PTCWriter *PTC_writer_particles(Object *ob, ParticleSystem *psys)
 {
 	PointCache *cache = psys->pointcache;
 	if (!cache)
@@ -80,7 +80,7 @@ PTCWriter *PTC_writer_particles(Scene *scene, Object *ob, ParticleSystem *psys)
 	return (PTCWriter *)writer;
 }
 
-PTCReader *PTC_reader_particles(Scene *scene, Object *ob, ParticleSystem *psys)
+PTCReader *PTC_reader_particles(Object *ob, ParticleSystem *psys)
 {
 	PointCache *cache = psys->pointcache;
 	if (!cache)
diff --git a/source/blender/pointcache/PTC_api.h b/source/blender/pointcache/PTC_api.h
index 0fb1ba6..eceaead 100644
--- a/source/blender/pointcache/PTC_api.h
+++ b/source/blender/pointcache/PTC_api.h
@@ -42,8 +42,8 @@ void PTC_read_sample(struct PTCReader *reader);
 
 
 /* Particles */
-struct PTCWriter *PTC_writer_particles(struct Scene *scene, struct Object *ob, struct ParticleSystem *psys);
-struct PTCReader *PTC_reader_particles(struct Scene *scene, struct Object *ob, struct ParticleSystem *psys);
+struct PTCWriter *PTC_writer_particles(struct Object *ob, struct ParticleSystem *psys);
+struct PTCReader *PTC_reader_particles(struct Object *ob, struct ParticleSystem *psys);
 
 #ifdef __cplusplus
 } /* extern C */




More information about the Bf-blender-cvs mailing list