diff options
author | Campbell Barton <ideasman42@gmail.com> | 2021-06-26 14:38:33 +0300 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2021-06-26 14:50:48 +0300 |
commit | 624bce6b4d2d731700408b8685fcfc7ffbf7f0e2 (patch) | |
tree | ce97746d872f2beb351611754d84212d3600bbc7 /source/blender | |
parent | f1e49038543cf75766f4a220f62cdc6cdbc0e27d (diff) |
Cleanup: redundant use of static constant
Diffstat (limited to 'source/blender')
-rw-r--r-- | source/blender/blenloader/intern/versioning_260.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source/blender/blenloader/intern/versioning_260.c b/source/blender/blenloader/intern/versioning_260.c index c19ef1be7c4..f2ad61f8674 100644 --- a/source/blender/blenloader/intern/versioning_260.c +++ b/source/blender/blenloader/intern/versioning_260.c @@ -2614,9 +2614,9 @@ void do_versions_after_linking_260(Main *bmain) float input_locx = 1000000.0f, input_locy = 0.0f; float output_locx = -1000000.0f, output_locy = 0.0f; - /* rough guess, not nice but we don't have access to UI constants here ... */ - static const float offsetx = 42 + 3 * 20 + 20; - // static const float offsety = 0.0f; + /* Rough guess, not nice but we don't have access to UI constants here. */ + const float offsetx = 42 + 3 * 20 + 20; + // const float offsety = 0.0f; if (create_io_nodes) { if (ntree->inputs.first) { |