Skip to content

Commit

Permalink
Fixed Compatibility with Blender 2.79.1 #23
Browse files Browse the repository at this point in the history
  • Loading branch information
blenderskool committed Oct 18, 2017
1 parent 4e4bc62 commit fb5cb1a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions spectrum.py
Original file line number Diff line number Diff line change
Expand Up @@ -1091,6 +1091,7 @@ def Spectrum_Engine():
kaleidoscope_spectrum_props.use_internet_libs = False

elif kaleidoscope_spectrum_props.gen_type == "4" or kaleidoscope_spectrum_props.random_int == 4:
global online_check
if kaleidoscope_spectrum_props.custom_gen_type == "0" or kaleidoscope_spectrum_props.random_custom_int == 0:
#Vibrant
Hue = c.h
Expand Down Expand Up @@ -1216,7 +1217,6 @@ def Spectrum_Engine():
global palette
global community_maintain
global community_palette
global online_check
#Online
if kaleidoscope_spectrum_props.online_type == '0' or kaleidoscope_spectrum_props.random_online_int == 0:
try:
Expand Down Expand Up @@ -1267,7 +1267,6 @@ def Spectrum_Engine():
except:
online_check = False
elif kaleidoscope_spectrum_props.online_type == "2" or kaleidoscope_spectrum_props.random_online_int == 2:
global online_check
global lovers_id
while True:
try:
Expand Down

0 comments on commit fb5cb1a

Please sign in to comment.