Changeset View
Changeset View
Standalone View
Standalone View
source/blender/blenkernel/intern/unit.c
| Show First 20 Lines • Show All 1,161 Lines • ▼ Show 20 Lines | if (system_iter != system) { | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| } | } | ||||
| /* Replace # with add sign when there is no operator between it and the next number. | /* Replace # with add sign when there is no operator between it and the next number. | ||||
| * | * | ||||
| * "1*1# 3*100# * 3" -> "1*1+ 3*100 * 3" | * "1*1# 3*100# * 3" -> "1*1+ 3*100 * 3" | ||||
| * | */ | ||||
| * */ | |||||
| { | { | ||||
| char *str_found = str; | char *str_found = str; | ||||
| const char *ch = str; | const char *ch = str; | ||||
| while ((str_found = strchr(str_found, SEP_CHR))) { | while ((str_found = strchr(str_found, SEP_CHR))) { | ||||
| bool op_found = false; | bool op_found = false; | ||||
| /* Any operators after this? */ | /* Any operators after this? */ | ||||
| ▲ Show 20 Lines • Show All 137 Lines • Show Last 20 Lines | |||||