Tie compositor will now update render result when changing node setup
authorSergey Sharybin <sergey.vfx@gmail.com>
Wed, 1 Aug 2012 13:59:08 +0000 (13:59 +0000)
committerSergey Sharybin <sergey.vfx@gmail.com>
Wed, 1 Aug 2012 13:59:08 +0000 (13:59 +0000)
commit8a1a4a453dd3cca0319ca88dbab271089d178c20
tree7510330834c0338388bd1923349c909b67a7e8cc
parentdd6d78840026e493045b441723e60546abdeefb6
Tie compositor will now update render result when changing node setup

Issue was caused by the way how render result was acquiring -- pointer
to render data was used to find needed render descriptor. It's not
reliable since render contains copy of scene's render data, not pointer
to this data.

Use node scene's id name for render result acquiring, the same way
as it was done in old compositor system.
source/blender/compositor/nodes/COM_CompositorNode.cpp
source/blender/compositor/operations/COM_CompositorOperation.cpp
source/blender/compositor/operations/COM_CompositorOperation.h
source/blender/render/extern/include/RE_pipeline.h
source/blender/render/intern/source/pipeline.c