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-08-25Cleanup: clang-formatCampbell Barton
2019-08-23UI: layout padding changes to autorun dialog, to match save dialogYevgeny Makarov
Differential Revision: https://developer.blender.org/D5568
2019-08-23UI: layout and text changes for unsaved changes dialogHarley Acheson
Patch by Harley Acheson, with additional changes by Yevgeny Makarov. Differential Revision: https://developer.blender.org/D5133
2019-08-23RNA: Cleanup PointerRNA structJacques Lucke
The old layout of `PointerRNA` was confusing for historic reasons: ``` typedef struct PointerRNA { struct { void *data; } id; struct StructRNA *type; void *data; } PointerRNA; ``` This patch updates it to: ``` typedef struct PointerRNA { struct ID *owner_id; struct StructRNA *type; void *data; } PointerRNA; ``` Throughout the code base `id.data` was replaced with `owner_id`. Furthermore, many explicit pointer type casts were added which were implicit before. Some type casts to `ID *` were removed. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D5558
2019-08-22LibOverride: Enforce full override operations check on file save.Bastien Montagne
We try to avoid diffing too much things during edition, but when saving a file we need to check all possible overridable IDs to ensure we have all needed override operations... Was pretty sure that was already in code, but apparently not (or it got lost at some point...).
2019-08-17Cleanup: spellingCampbell Barton
2019-08-16Cleanup: clang-formatCampbell Barton
2019-08-16Cleanup: spellingCampbell Barton
2019-08-16UI: click on status bar report message now opens window with Info editorBrecht Van Lommel
Patch by Valentin (Poulpator) Differential Revision: https://developer.blender.org/D5468
2019-08-14Cleanup: use doxy sections for wm_operators.cCampbell Barton
2019-08-14Cleanup: headersCampbell Barton
2019-08-14Cleanup: split out splash screen into own fileCampbell Barton
`wm_operators.c` is mainly for generic operator logic where as the splash screen is one of a kind.
2019-08-14Cleanup: move trailing comments to avoid wrapping codeCampbell Barton
Some statements were split across multiple lines because of their trailing comments. In most cases it's clearer to put the comments above.
2019-08-12Fix T68187: Factory Preferences doesn't update gizmo colorsCampbell Barton
2019-08-11Preferences: tag as dirty when loading factory startupCampbell Barton
2019-08-07Fix tool-tips remaining after operators startCampbell Barton
It was possible for e.g. to have a header tooltip displayed, then start walk-navigation which didn't close the tool-tip.
2019-08-05Cleanup: use unsigned char for theme colorsCampbell Barton
Nearly all byte-color functions use 'uchar' causing casts when then colors were passed in. Declare as uchar to remove the need for casts.
2019-08-02Fix most (if not all) untranslated Panel-labels reported in T66731.Bastien Montagne
2019-08-02Cleanup: doxy sectionsCampbell Barton
2019-08-01Cleanup: use _ex suffix instead of _extCampbell Barton
Convention is to use ex, not ext for extended versions of a functions.
2019-08-01Fix error setting the user preferencesCampbell Barton
User preferences from the startup.blend was still being used, fixing this exposed missing theme initialization, now fixed.
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-07-31Cleanup: typo in parameter name in function declarations.Bastien Montagne
2019-07-31Refactor access to dependency graphSergey Sharybin
This change ensures that operators which needs access to evaluated data first makes sure there is a dependency graph. Other accesses to the dependency graph made it more explicit about whether they just need a valid dependency graph pointer or whether they expect the graph to be already evaluated. This replaces OPTYPE_USE_EVAL_DATA which is now removed. Some general rules about usage of accessors: - Drawing is expected to happen from a fully evaluated dependency graph. There is now a function to access it, which will in the future control that dependency graph is actually evaluated. This check is not yet done because there are some things to be taken care about first: for example, post-update hooks might leave scene in a state where something is still tagged for update. - All operators which needs to access evaluated state must use CTX_data_ensure_evaluated_depsgraph(). This function replaces OPTYPE_USE_EVAL_DATA. The call is generally to be done in the very beginning of the operator, prior other logic (unless this is some comprehensive operator which might or might not need access to an evaluated state). This call is never to be used from a loop. If some utility function requires evaluated state of dependency graph the graph is to be passed as an explicit argument. This way it is clear that no evaluation happens in a loop or something like this. - All cases which needs to know dependency graph pointer, but which doesn't want to actually evaluate it can use old-style function CTX_data_depsgraph_pointer(), assuming that underlying code will ensure dependency graph is evaluated prior to accessing it. - The new functions are replacing OPTYPE_USE_EVAL_DATA, so now it is explicit and local about where dependency graph is being ensured. This commit also contains some fixes of wrong usage of evaluation functions on original objects. Ideally should be split out, but in reality with all the APIs being renamed is quite tricky. Fixes T67454: Blender crash on rapid undo and select Speculation here is that sometimes undo and selection operators are sometimes handled in the same event loop iteration, which leaves non-evaluated dependency graph. Fixes T67973: Crash on Fix Deforms operator Fixes T67902: Crash when undo a loop cut Reviewers: brecht Reviewed By: brecht Subscribers: lichtwerk Maniphest Tasks: T67454 Differential Revision: https://developer.blender.org/D5343
2019-07-31Cleanup: remove BLO_update_defaults_userpref_blendCampbell Barton
Merge into BKE_blendfile_userdef_from_defaults
2019-07-31Preferences: don't store preferences in the startupCampbell Barton
Simplify preferences by removing the ability to load them from either the startup.blend or userpref.blend. Also simplifies updating default preferences by moving them to a struct definition.
2019-07-30Fix crash clicking in the 3D view on startupCampbell Barton
Setting the 3D view cursor on startup could crash because the viewport hasn't been assigned to the region.
2019-07-30Cleanup: replace unused return defines with boolCampbell Barton
2019-07-29Fix T67620: Font preview translations malfunction in Blender 2.8Bastien Montagne
We cannot reliably use translations API from non-main threads. Now storing translated strings in a static cache, with basic mechanism to update it on language change. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D5350
2019-07-25Fix app-template keymap being ignoredCampbell Barton
2019-07-25UI: clarify tip for viewport mouse position propertyCampbell Barton
This is an hidden property only visible in the keymap editor. Addresses T67589
2019-07-25Fix T67472: Gizmo overlap causes cursor to get stuckCampbell Barton
2019-07-23Fix T67334: Blender does not exit after savingJacques Lucke
2019-07-18Cleanup: remove redundant preference checkCampbell Barton
Missing from f2df5206987f6, harmless but confusing to leave in checks for preferences having asked to skip them.
2019-07-17Fix T67047: Can't jump to frame when using jack in A/V sync modeSergey Sharybin
Similar fix to 495aff7. Reviewers: brecht Reviewed By: brecht Maniphest Tasks: T67047 Differential Revision: https://developer.blender.org/D5268
2019-07-17UI: remove button to enable auto-save after load factory preferencesCampbell Barton
Based on feedback from T66675, the current interface is confusing, leading to users accidentally overwriting their preferences. Now, once factory settings are loaded preferences are not saved and the save button is shown (as when auto-save is disabled). Tool tips note that factory settings require manual saving afterwards. Also rename preference menu items for better consistency (settings/state -> preferences).
2019-07-16Fix error in app-template image size checkCampbell Barton
2019-07-12Preferences: disable reading preferences for regular file loadingCampbell Barton
Although the Auto-Run Python Scripts flag isn't used, this is still a security risk since exclude paths list is. Further this isn't what users would expect when loading a file & only some preferences were being loaded so it's not useful.
2019-07-11Fix T66628: "Auto Saved Modified Image" not workingJacques Lucke
Reviewer: brecht
2019-07-11Cleanup: quiet warningCampbell Barton
2019-07-10Fix strict compiler warningSergey Sharybin
2019-07-10Splash: put version number in top right, refactor code for easier changesBrecht Van Lommel
2019-07-10Fix splash screen margins not being even and buttons not centeredBrecht Van Lommel
2019-07-10Fix T66530: set_stereo_3d (pageflip) exists BlenderDalai Felinto
Note: Although this fixes the issue (as in, it prevents a crash) BKE_reports are not working because of CTX_wm_window_set(). Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D5210
2019-07-10Fix T66626: Crash when using JACK audio deviceSergey Sharybin
Restore some context overrides which were originally happening in 2.79. Made it a bit more paranoid, by storing old values and restoring them afterwards, so the context is not being changed at the end of the function.
2019-07-09Fix T61474: laggy interaction on Windows/NVIDIA when gizmos are visibleBrecht Van Lommel
Thanks to Sergey and Clément for helping to track this down.
2019-07-07Cleanup: use BKE_packedfile prefix for function namesCampbell Barton
Avoid ambiguity with terms check & compare.
2019-07-07Fix crash running an operator from a popup,Campbell Barton
Cell fracture redraw option was crashing. Change operator popup behavior to close the UI before executing since the operator may perform operations which change/remove the UI.
2019-07-07Cleanup: spellingCampbell Barton
2019-07-07Docs: update window/screen introductionCampbell Barton
Include global region/areas.