[Bf-blender-cvs] [f6658fffd09] undo-experiments-swap-reread-datablocks: Cleanup outdated comment.

Bastien Montagne noreply at git.blender.org
Fri Feb 28 10:57:57 CET 2020


Commit: f6658fffd090bf438fb69f4388b291628cf66211
Author: Bastien Montagne
Date:   Fri Feb 28 10:57:45 2020 +0100
Branches: undo-experiments-swap-reread-datablocks
https://developer.blender.org/rBf6658fffd090bf438fb69f4388b291628cf66211

Cleanup outdated comment.

===================================================================

M	source/blender/blenloader/intern/readfile.c

===================================================================

diff --git a/source/blender/blenloader/intern/readfile.c b/source/blender/blenloader/intern/readfile.c
index 4d399e52da1..5a77ff31f23 100644
--- a/source/blender/blenloader/intern/readfile.c
+++ b/source/blender/blenloader/intern/readfile.c
@@ -9640,10 +9640,7 @@ static void lib_link_all(FileData *fd, Main *bmain)
     if (fd->memfile != NULL && do_partial_undo && (id->tag & LIB_TAG_UNDO_OLD_ID_REUSED) != 0) {
       /* This ID has been re-used from 'old' bmain. Since it was therfore unchanged accross current
        * undo step, and old IDs re-use their old memory address, we do not need to liblink it at
-       * all.
-       * NOTE: this is a risky bet that will need a lot of validation. Especiqlly as long as we use
-       * idnames to find back IDs accross undo/redo, there //may// be some specific situations that
-       * could lead us to using freed memory... */
+       * all. */
       continue;
     }



More information about the Bf-blender-cvs mailing list