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>2019-02-18 18:59:31 +0300
committerSergey Sharybin <sergey.vfx@gmail.com>2019-02-18 19:00:50 +0300
commitf2a21472c4939bf0b5666ec654bbc12bbc6a6e81 (patch)
tree1580664383f3d546ad34f039c290ebece14b5b79 /source/blender/blenlib/BLI_rand.h
parent0e3a2acbfa6998b3a1ec967f3c25f7e12e0cf8fb (diff)
Fix T61473: Crash particle system is updating
Original and localized particle settings were sharing some of the runtime pointers.
Diffstat (limited to 'source/blender/blenlib/BLI_rand.h')
-rw-r--r--source/blender/blenlib/BLI_rand.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/blender/blenlib/BLI_rand.h b/source/blender/blenlib/BLI_rand.h
index 8a1479b4f68..fd078ae3a36 100644
--- a/source/blender/blenlib/BLI_rand.h
+++ b/source/blender/blenlib/BLI_rand.h
@@ -37,6 +37,7 @@ typedef struct RNG_THREAD_ARRAY RNG_THREAD_ARRAY;
struct RNG *BLI_rng_new(unsigned int seed);
struct RNG *BLI_rng_new_srandom(unsigned int seed);
+struct RNG *BLI_rng_copy(struct RNG *rng) ATTR_NONNULL(1);
void BLI_rng_free(struct RNG *rng) ATTR_NONNULL(1);
void BLI_rng_seed(struct RNG *rng, unsigned int seed) ATTR_NONNULL(1);