Fix T42262: Ocean texture options cannot be edited while in Cycles
This commit is contained in:
@@ -893,7 +893,7 @@ class TEXTURE_PT_pointdensity_turbulence(TextureButtonsPanel, Panel):
|
|||||||
class TEXTURE_PT_ocean(TextureTypePanel, Panel):
|
class TEXTURE_PT_ocean(TextureTypePanel, Panel):
|
||||||
bl_label = "Ocean"
|
bl_label = "Ocean"
|
||||||
tex_type = 'OCEAN'
|
tex_type = 'OCEAN'
|
||||||
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME'}
|
COMPAT_ENGINES = {'BLENDER_RENDER', 'BLENDER_GAME', 'CYCLES'}
|
||||||
|
|
||||||
def draw(self, context):
|
def draw(self, context):
|
||||||
layout = self.layout
|
layout = self.layout
|
||||||
|
Reference in New Issue
Block a user