minor changes, BLI_uvproject_from_view was doing matrix multiply for no reason, quiet float/double warning.
This commit is contained in:
@@ -67,7 +67,7 @@ void COM_execute(RenderData *rd, bNodeTree *editingtree, int rendering,
|
||||
* Don't create previews in advance, this is done when adding preview operations.
|
||||
* Reserved preview size is determined by render output for now.
|
||||
*/
|
||||
float aspect = rd->xsch > 0 ? (float)rd->ysch / (float)rd->xsch : 1.0;
|
||||
float aspect = rd->xsch > 0 ? (float)rd->ysch / (float)rd->xsch : 1.0f;
|
||||
BKE_node_preview_init_tree(editingtree, COM_PREVIEW_SIZE, (int)(COM_PREVIEW_SIZE * aspect), FALSE);
|
||||
|
||||
/* initialize workscheduler, will check if already done. TODO deinitialize somewhere */
|
||||
|
||||
Reference in New Issue
Block a user