Ticket #2324: correct_a_variant_selection_comment.diff

File correct_a_variant_selection_comment.diff, 689 bytes (added by Radagast, 7 years ago)
  • source/graphics/ObjectBase.cpp

     
    499499    // (and in most cases only one) per group.
    500500    // In each group, if one of the variants has a name matching a string in
    501501    // 'selections', use that one.
    502     // If more than one matches, choose randomly from those matching ones.
     502    // If more than one matches, choose the first one. TODO: Choose randomly from those matching ones.
    503503    // If none match, choose randomly from all variants.
    504504    //
    505505    // When choosing randomly, make use of each variant's frequency. If all