Cleanup: replace suspicious use of "&" with "&&"
This commit is contained in:
parent
fa4fdbf356
commit
7ce68904eb
|
@ -1420,7 +1420,7 @@ static bool gpencil_stroke_eraser_is_occluded(
|
|||
if (brush->gpencil_tool == GPAINT_TOOL_ERASE) {
|
||||
gp_settings = brush->gpencil_settings;
|
||||
}
|
||||
else if ((eraser != nullptr) & (eraser->gpencil_tool == GPAINT_TOOL_ERASE)) {
|
||||
else if ((eraser != nullptr) && (eraser->gpencil_tool == GPAINT_TOOL_ERASE)) {
|
||||
gp_settings = eraser->gpencil_settings;
|
||||
}
|
||||
|
||||
|
|
|
@ -2253,7 +2253,7 @@ void SEQ_render_thumbnails(const SeqRenderData *context,
|
|||
upper_thumb_bound;
|
||||
|
||||
float timeline_frame = SEQ_render_thumbnail_first_frame_get(scene, seq, frame_step, view_area);
|
||||
while ((timeline_frame < upper_thumb_bound) & !*stop) {
|
||||
while ((timeline_frame < upper_thumb_bound) && !*stop) {
|
||||
ImBuf *ibuf = seq_cache_get(
|
||||
context, seq_orig, round_fl_to_int(timeline_frame), SEQ_CACHE_STORE_THUMBNAIL);
|
||||
if (ibuf) {
|
||||
|
|
Loading…
Reference in New Issue