Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2020-04-03Code Quality: Replace for loops with LISTBASE_FOREACHDalai Felinto
Note this only changes cases where the variable was declared inside the for loop. To handle it outside as well is a different challenge. Differential Revision: https://developer.blender.org/D7320
2020-04-02add memory address to undo steps print.Bastien Montagne
Helps identifying who is what in debugger...
2020-03-30Fix undo debug logging not printing all types of undo pushesBrecht Van Lommel
Ref D7274
2020-03-19Cleanup: `make format` after SortedIncludes changeDalai Felinto
2020-03-17Cleanup: minor changes.Bastien Montagne
2020-02-10Cleanup: Rename `BKE_library_override_` functions to `BKE_lib_override_library_`Bastien Montagne
pqrt of T72604.
2020-02-10Cleanup/refactor: Rename `BKE_library` files to `BKE_lib`.Bastien Montagne
Note that `BKE_library.h`/`library.c` were renamed to `BKE_lib_id.h`/`lib_id.c` to avoid having a too generic name here. Part of T72604.
2019-11-24Cleanup: doxygen commentsCampbell Barton
Also correct some outdated symbol references, add missing 'name' commands.
2019-09-11Fix T69754: crash in sculpting after library overrides were enabledBrecht Van Lommel
The rest of this function uses G_MAIN, so do the same.
2019-08-22LibOverride: Cleanup: tget rid of G.main usage when we can get it from context.Bastien Montagne
2019-07-28Cleanup: remove unused ID-map undo APICampbell Barton
Removing this since it was added for TexFace support which has since been removed.
2019-07-26Fix T67256: Add object redo duplicates, after exiting sculpt modeCampbell Barton
2019-07-23Fix T67040: Undo crashes after renamingCampbell Barton
Correct fix that doesn't cause T67217. Temporarily removing the excluded undo step broke memfile-undo since freeing the undo steps needs to access other steps in the list to merge shared chunks, see: memfile_undosys_step_free. Pass the exclude step as an argument instead.
2019-07-21Revert "Fix T67040: Undo crashes after renaming"Brecht Van Lommel
This reverts commit c635663e4a8169f68010b9234fa60f17ad03d7cb. This is causing crashes with sculpt mode and object mode switching. Fixes T67217.
2019-07-16Fix T67040: Undo crashes after renamingCampbell Barton
Caused by error keeping the first memfile undo step.
2019-07-11Undo System: add is_final argument (no functional changes)Campbell Barton
This is needed step out of undo steps which accumulate changes, larger changes could be made to handle this but better not make them at this point.
2019-07-11Cleanup: avoid recursion for undo/redo step skippingCampbell Barton
Simplifies making further changes.
2019-07-02Cleanup: spellingCampbell Barton
2019-06-15Cleanup: Rename: Static Override -> Library Override.Bastien Montagne
Better to make internal code naming match official/UI naming to some extent, this will reduce confusion in the future. This is 'breaking' scripts and files that would use that feature, but since it is not yet officially supported nor exposed in 2.80, as far as that release is concerned, it is effectively a 'no functional changes' commit.
2019-05-19Fix buildDalai Felinto
Issue introduced on b7eba20236ca. I'm surprised it compiled elsewhere, but in Linux at least this fix was required.
2019-05-19UI: Edit Menu Operator PollingHarley Acheson
This patch updates the polling that enable/disables Edit Menu items. Slight Undo History menu changes Differential Revision: https://developer.blender.org/D4846 Reviewed by Brecht Van Lommel
2019-04-27Cleanup: comments (long lines) in blenkernelCampbell Barton
2019-04-17ClangFormat: apply to source, most of internCampbell Barton
Apply clang format as proposed in T53211. For details on usage and instructions for migrating branches without conflicts, see: https://wiki.blender.org/wiki/Tools/ClangFormat
2019-03-13Fix use of uninitialized variable in undo system.Brecht Van Lommel
2019-02-18doxygen: add newline after \fileCampbell Barton
While \file doesn't need an argument, it can't have another doxy command after it.
2019-02-07Cleanup: remove unnecessary undo functionCampbell Barton
2019-02-06Cleanup: remove redundant doxygen \file argumentCampbell Barton
Move \ingroup onto same line to be more compact and make it clear the file is in the group.
2019-02-06Undo System: remove accumulate/store modesCampbell Barton
This complicated handling of undo steps in a generic way especially switching between undo systems that stored data to ones that accumulated changes. Now each undo system must treat it's steps as check-point, internally it can apply/rewind changes. This commit also fixes projection paint where the object mode wasn't following the undo steps.
2019-02-04Undo System: add function to print undo stepsCampbell Barton
Useful for debugging.
2019-02-01Cleanup: remove redundant, invalid info from headersCampbell Barton
BF-admins agree to remove header information that isn't useful, to reduce noise. - BEGIN/END license blocks Developers should add non license comments as separate comment blocks. No need for separator text. - Contributors This is often invalid, outdated or misleading especially when splitting files. It's more useful to git-blame to find out who has developed the code. See P901 for script to perform these edits.
2019-01-31Fix T61047: Undo editmesh separate crashesCampbell Barton
Favour G_MAIN in functions that might free it.
2019-01-31Undo System: add Main argument to encode/decodeCampbell Barton
Needed since we don't always have the context, and avoids adding G_MAIN into undo callbacks.
2019-01-30Fix T60974: Dyntopo crash on undo after object deletedCampbell Barton
Add the ability for undo steps to request memfile undo step added after them, useful for mode switching, where we need the data to exist for undo to enter the mode.
2019-01-29Fix T60809: Crash undoing object rename in edit-modeCampbell Barton
Currently names are used for edit-mode undo-steps, any changes to Main ID names cause lookup failure (crashing). This commit ensures any undo steps that use ID lookups have the same mem-file undo state loaded that was used to encode the steps. Renaming also has an undo push added (last commit).
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-25Fix texture paint accessing freed memoryCampbell Barton
Part of T60660
2019-01-09Fix T55336: Crash w/ dyntopo sculptCampbell Barton
2019-01-09Undo System: apply accumulation stepsCampbell Barton
Apply steps between the active and the undo state being decoded.
2018-11-07Cleanup: Remove 'BKE_library.h' include from 'BKE_main.h'Bastien Montagne
That kind of implicit includes should really only be done when totally, absolutely necessary, and ideally only with rather simple 'second-level' headers. Otherwise not being explicit with includes always end up biting in unexpected ways...
2018-10-19Make Static Override optional/hidden by default.Bastien Montagne
That feature will not be ready (or at least, not tested enough) to be officially part of 2.80 beta. So we disable it by default, hidding it behind a startup option (`--enable-static-override`), and a python app var (`bpy.app.use_static_override`). That way, people who really want to play with it can do it easily, while not exposing/enabling non-production-ready feature by default. Note that underlying override code remains active, i.e. files we do have overridden data-blocks will be loaded correctly according to static override.
2018-08-08Merge branch 'master' into blender2.8Brecht Van Lommel
2018-08-08Fix T55095: Undo crash w/ linked library dataCampbell Barton
2018-08-08Merge branch 'master' into blender2.8Campbell Barton
2018-08-08Fix T54584: Crash w/ image undoCampbell Barton
Using accumulation undo type (eg painting) as the first undo step, broke code which adds an initial memfile undo.
2018-06-13Merge branch 'master' into blender2.8Brecht Van Lommel
This includes making Eevee match Cycles behavior of inserting an emission node when linking colors to closures.
2018-06-13Fix undo of transform after frame change undoing too much.Brecht Van Lommel
For grouped undo we should not skip the undo push, rather replace the previous undo push. This way undo goes back to the state after the last operation in the group.
2018-06-07Merge branch 'master' into blender2.8Campbell Barton
2018-06-07Fix sculpt assert on initializationCampbell Barton
2018-05-15Merge branch 'master' into blender2.8Campbell Barton
2018-05-15Fix T55032: Redo w/ file saved in edit-mode failedCampbell Barton
It's important edit-mode has a step stored for redo to work, file load now ensures this in a generic way.