depsgraph: Fix 32 bit shift bug in get_visible_components_mask.
1 << n results in a 32 bit result, 1UL << n retains all 64 bits.
This commit is contained in:
		@@ -230,7 +230,7 @@ IDComponentsMask IDDepsNode::get_visible_components_mask() const {
 | 
				
			|||||||
		if (comp_node->affects_directly_visible) {
 | 
							if (comp_node->affects_directly_visible) {
 | 
				
			||||||
			const int component_type = comp_node->type;
 | 
								const int component_type = comp_node->type;
 | 
				
			||||||
			BLI_assert(component_type < 64);
 | 
								BLI_assert(component_type < 64);
 | 
				
			||||||
			result |= (1 << component_type);
 | 
								result |= (1UL << component_type);
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	GHASH_FOREACH_END();
 | 
						GHASH_FOREACH_END();
 | 
				
			||||||
 
 | 
				
			|||||||
		Reference in New Issue
	
	Block a user