From 17a2820da8ad8ea23d336129f32e060e5746b047 Mon Sep 17 00:00:00 2001 From: Campbell Barton Date: Sat, 19 Sep 2020 14:32:41 +1000 Subject: Cleanup: consistent TODO/FIXME formatting for names Following the most widely used convention for including todo's in the code, that is: `TODO(name):`, `FIXME(name)` ... etc. --- intern/mantaflow/intern/strings/fluid_script.h | 6 +++--- intern/mantaflow/intern/strings/liquid_script.h | 2 +- intern/opencolorio/ocio_impl_glsl.cc | 2 +- 3 files changed, 5 insertions(+), 5 deletions(-) (limited to 'intern') diff --git a/intern/mantaflow/intern/strings/fluid_script.h b/intern/mantaflow/intern/strings/fluid_script.h index d669e8cf3b4..41816648dd3 100644 --- a/intern/mantaflow/intern/strings/fluid_script.h +++ b/intern/mantaflow/intern/strings/fluid_script.h @@ -35,7 +35,7 @@ import os.path, shutil, math, sys, gc, multiprocessing, platform, time\n\ withMPBake = False # Bake files asynchronously\n\ withMPSave = False # Save files asynchronously\n\ isWindows = platform.system() != 'Darwin' and platform.system() != 'Linux'\n\ -# TODO (sebbas): Use this to simulate Windows multiprocessing (has default mode spawn)\n\ +# TODO(sebbas): Use this to simulate Windows multiprocessing (has default mode spawn)\n\ #try:\n\ # multiprocessing.set_start_method('spawn')\n\ #except:\n\ @@ -583,7 +583,7 @@ def bake_mesh_process_$ID$(framenr, format_data, format_mesh, path_mesh):\n\ sm$ID$.timestep = frameLength_s$ID$ # no adaptive timestep for mesh\n\ \n\ #if using_smoke_s$ID$:\n\ - # TODO (sebbas): Future update could include smoke mesh (vortex sheets)\n\ + # TODO(sebbas): Future update could include smoke mesh (vortex sheets)\n\ if using_liquid_s$ID$:\n\ liquid_step_mesh_$ID$()\n\ liquid_save_mesh_$ID$(path_mesh, framenr, format_mesh)\n\ @@ -607,7 +607,7 @@ def bake_particles_process_$ID$(framenr, format_particles, path_particles, resum sp$ID$.timestep = frameLength_s$ID$ # no adaptive timestep for particles\n\ \n\ #if using_smoke_s$ID$:\n\ - # TODO (sebbas): Future update could include smoke particles (e.g. fire sparks)\n\ + # TODO(sebbas): Future update could include smoke particles (e.g. fire sparks)\n\ if using_liquid_s$ID$:\n\ liquid_step_particles_$ID$()\n\ liquid_save_particles_$ID$(path_particles, framenr, format_particles, resumable)\n\ diff --git a/intern/mantaflow/intern/strings/liquid_script.h b/intern/mantaflow/intern/strings/liquid_script.h index 08d8dcd7de3..cef1483657a 100644 --- a/intern/mantaflow/intern/strings/liquid_script.h +++ b/intern/mantaflow/intern/strings/liquid_script.h @@ -205,7 +205,7 @@ def liquid_adaptive_step_$ID$(framenr):\n\ setObstacleFlags(flags=flags_s$ID$, phiObs=phiObs_s$ID$, phiOut=phiOut_s$ID$, fractions=fractions_s$ID$, phiIn=phiIn_s$ID$)\n\ \n\ if using_obstacle_s$ID$:\n\ - # TODO (sebbas): Enable flags check again, currently produces unstable particle behavior\n\ + # TODO(sebbas): Enable flags check again, currently produces unstable particle behavior\n\ phi_s$ID$.subtract(o=phiObsIn_s$ID$) #, flags=flags_s$ID$, subtractType=FlagObstacle)\n\ \n\ # add initial velocity: set invel as source grid to ensure const vels in inflow region, sampling makes use of this\n\ diff --git a/intern/opencolorio/ocio_impl_glsl.cc b/intern/opencolorio/ocio_impl_glsl.cc index e91f6021669..a23d90a9ce9 100644 --- a/intern/opencolorio/ocio_impl_glsl.cc +++ b/intern/opencolorio/ocio_impl_glsl.cc @@ -558,7 +558,7 @@ bool OCIOImpl::setupGLSLDraw(OCIO_GLSLDrawState **state_r, /* Bind UBO. */ GPU_uniformbuf_bind(shader_curvemap->buffer, shader->ubo_bind); - /* TODO(fclem) remove remains of IMM. */ + /* TODO(fclem): remove remains of IMM. */ immBindShader(shader->shader); /* Bind Shader and set uniforms. */ -- cgit v1.2.3