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:
authorManuel Castilla <manzanillawork@gmail.com>2021-10-14 00:01:15 +0300
committerManuel Castilla <manzanillawork@gmail.com>2021-10-14 00:41:14 +0300
commit1c42d4930a24d639b3aa561b9a8b4bbce05977e0 (patch)
tree68c2aae3fd5ae98b78708bea28c0b55d3f4fb5f0 /source/blender/compositor/operations/COM_CryptomatteOperation.h
parenta2ee3c3a9f01f5cb2f05f1e84a1b6c1931d9d4a4 (diff)
Cleanup: convert camelCase naming to snake_case in Compositor
To convert old code to the current convention and use a single code style.
Diffstat (limited to 'source/blender/compositor/operations/COM_CryptomatteOperation.h')
-rw-r--r--source/blender/compositor/operations/COM_CryptomatteOperation.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/source/blender/compositor/operations/COM_CryptomatteOperation.h b/source/blender/compositor/operations/COM_CryptomatteOperation.h
index 039b4e3b07a..2fa6fbc8390 100644
--- a/source/blender/compositor/operations/COM_CryptomatteOperation.h
+++ b/source/blender/compositor/operations/COM_CryptomatteOperation.h
@@ -24,17 +24,17 @@ namespace blender::compositor {
class CryptomatteOperation : public MultiThreadedOperation {
private:
- Vector<float> objectIndex_;
+ Vector<float> object_index_;
public:
Vector<SocketReader *> inputs;
CryptomatteOperation(size_t num_inputs = 6);
- void initExecution() override;
- void executePixel(float output[4], int x, int y, void *data) override;
+ void init_execution() override;
+ void execute_pixel(float output[4], int x, int y, void *data) override;
- void addObjectIndex(float objectIndex);
+ void add_object_index(float object_index);
void update_memory_buffer_partial(MemoryBuffer *output,
const rcti &area,