05b6d15f23dba1dc9033f2b67ae2e1a08755ce69,holodeck/environments.py,HolodeckEnvironment,set_fog_density,#HolodeckEnvironment#Any#,239
Before Change
density is invalid.
if density < 0 or density > 1:
print("Fog density should be between 0 and 1")
return
self._should_write_to_command_buffer = True
command_to_send = ChangeFogDensityCommand(density)
After Change
density is invalid.
if density < 0 or density > 1:
raise HolodeckException("Fog density should be between 0 and 1")
self._should_write_to_command_buffer = True
command_to_send = ChangeFogDensityCommand(density)
self._commands.add_command(command_to_send)
In pattern: SUPERPATTERN
Frequency: 3
Non-data size: 3
Instances Project Name: BYU-PCCL/holodeck
Commit Name: 05b6d15f23dba1dc9033f2b67ae2e1a08755ce69
Time: 2018-09-27
Author: joshua.greaves@gmail.com
File Name: holodeck/environments.py
Class Name: HolodeckEnvironment
Method Name: set_fog_density
Project Name: BYU-PCCL/holodeck
Commit Name: 05b6d15f23dba1dc9033f2b67ae2e1a08755ce69
Time: 2018-09-27
Author: joshua.greaves@gmail.com
File Name: holodeck/environments.py
Class Name: HolodeckEnvironment
Method Name: start_day_cycle
Project Name: BYU-PCCL/holodeck
Commit Name: 70b56ddc76805aac9db71690addbdd970b2ffa79
Time: 2019-05-31
Author: jaydenmilne@users.noreply.github.com
File Name: holodeck/command.py
Class Name: SpawnAgentCommand
Method Name: set_location