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
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.
2018-04-19Fix bug with NULL context being used in undoCampbell Barton
Caused sculpt to crash.
2018-04-18Disable auto-override for all but active object in group case.Bastien Montagne
I.E. only enable auto-override for 'active' selected object when making an override of a linked group. This will ease on auto-override creation, and you typically do not want to auto-override most objects in the group anyway (in proxy system, you could only proxyfy one object of the group anyaway!).
2018-04-14Merge branch 'master' into blender2.8Campbell Barton
2018-04-14Fix T54568: Undo memory de-duplication failedCampbell Barton
Error in 651b8fb14e caused de-duplication to fail.
2018-04-11Fix again 'auto override' system.Bastien Montagne
Got lost in big undo refactor. Note that this is probably (maybe) not how we want to have it in the end, things like EditMode undo should probably not trigger this check?
2018-04-06Cleanup: style, doxy headersCampbell Barton
2018-04-05Undo System: return undo step from undo push initCampbell Barton
Also improve logging
2018-04-03Undo: make id-map use binary search to keep sortedCampbell Barton
2018-04-03Fix own error w/ undo ID lookupCampbell Barton
Was testing with small number of items, so this went unnoticed.
2018-04-03Undo System: id-map avoid duplicate add/lookupCampbell Barton
Add versions of add/lookup that check the previous item.
2018-04-03Fix mistake logging w/ undoCampbell Barton
2018-03-31Undo: unified undo system w/ linear historyCampbell Barton
- Use a single undo history for all operations. - UndoType's are registered and poll the context to check if they should be used when performing an undo push. - Mode switching is used to ensure the state is correct before undo data is restored. - Some undo types accumulate changes (image & text editing) others store the state multiple times (with de-duplication). This is supported by checking UndoStack.mode `ACCUMULATE` / `STORE`. - Each undo step stores ID datablocks they use with utilities to help manage restoring correct ID's. Needed since global undo is now mixed with other modes undo. - Currently performs each undo step when going up/down history Previously this wasn't done, making history fail in some cases. This can be optimized to skip some combinations of undo steps. grease-pencil is an exception which has not been updated since it integrates undo into the draw-session. See D3113