quiet gcc float -> double promotion warnings.
This commit is contained in:
@@ -2725,7 +2725,7 @@ void ntreeCompositExecTree(bNodeTree *ntree, RenderData *rd, int do_preview)
|
||||
node= getExecutableNode(ntree);
|
||||
if(node) {
|
||||
if(ntree->progress && totnode)
|
||||
ntree->progress(ntree->prh, (1.0 - curnode/(float)totnode));
|
||||
ntree->progress(ntree->prh, (1.0f - curnode/(float)totnode));
|
||||
if(ntree->stats_draw) {
|
||||
char str[64];
|
||||
sprintf(str, "Compositing %d %s", curnode, node->name);
|
||||
|
Reference in New Issue
Block a user