Fix T45317: Cycles material preview unnecessarily re-rendering

The issue was caused by wrong fix for T22741 which forced redraws on any window
event, like Expose. Use proper NV_WM | ND_UNDO listener instead,
This commit is contained in:
Sergey Sharybin
2015-07-21 11:24:29 +02:00
parent b23c6c430f
commit b0df19667f
2 changed files with 5 additions and 4 deletions

View File

@@ -1406,7 +1406,6 @@ void PointDensityTextureNode::compile(SVMCompiler& compiler)
void PointDensityTextureNode::compile(OSLCompiler& compiler)
{
ShaderInput *vector_in = input("Vector");
ShaderOutput *density_out = output("Density");
ShaderOutput *color_out = output("Color");