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-02-28Objects: make evaluated data runtime storage usable for types other than meshBrecht Van Lommel
This is in preparation of new object types. This only changes mesh_eval, we may do the same for mesh_deform_eval and other areas in the future if there is a need for it. This previously caused a bug in T74283, that should be fixed now. Differential Revision: https://developer.blender.org/D6695
2020-02-28Revert "Objects: make evaluated data runtime storage usable for types other ↵Brecht Van Lommel
than mesh" This reverts commit f2b95b9eae2ee913c99cff7595527b18d8b49d0a. Fix T74283: modifier display lost when moving object in edit mode. The cause is not immediately obvious so better to revert and look at this carefully.
2020-02-27Objects: make evaluated data runtime storage usable for types other than meshBrecht Van Lommel
This is in preparation of new object types. This only changes mesh_eval, we may do the same for mesh_deform_eval and other areas in the future if there is a need for it. Differential Revision: https://developer.blender.org/D6695
2020-02-14Fix console cursor offsetCampbell Barton
Also remove hard coded offsets.
2020-02-14Cleanup: console/info headersCampbell Barton
2020-02-14Cleanup: use 'textview_' prefix for internal functionsCampbell Barton
2020-02-14Cleanup: change textview 'unsigned char' to 'uchar'Campbell Barton
2020-02-14Fix T73784: Python console: incorrect wrapped line cursor positionCampbell Barton
Regression in aa919f3e82020 Remove character margins, it complicated drawing & picking to have one margin in pixels and a second margin in characters. Replace this with an outer pixel-margin for drawing background colors.
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.
2020-02-02Cleanup: clang-formatCampbell Barton
2020-01-29UI: Info Editor Visual ChangesHarley Acheson
Changes to Info Editor making it easier to read. Only visual changes, no functional changes. Differential Revision: https://developer.blender.org/D6491 Reviewed by Julian Eisel
2019-12-11Cleanup: spellingCampbell Barton
2019-12-03Cleanup: text-view comments, variable names, const argsCampbell Barton
2019-12-03Cleanup: rename textview ymin/maxCampbell Barton
This is used for scrolling which wasn't obvious.
2019-12-03Fix minor errors with text view margins for console/info editorCampbell Barton
- Margins used duplicate define between files. - Cursor selection ignored margins. - Cursor wasn't scaling with DPI. Add a 'draw_rect' member which is the region rect with margins applied to make these checks clearer. This resolves issue pointed out in D6300, which complicated further refactoring.
2019-11-27Fix T71000: Statistics don't take collections hidden state into accountDalai Felinto
Simple fix, to mimic what we had pre-local collections. So this is not fully representative of the current load of the scene. I started a more complex route where we literally just count objects that are visible (taking object type restriction, local collections, local view, ...). But in the end it is a bit overkill considering that we have plans to change the statistics.
2019-11-22Cleanup: BKE_suggestions -> BKE_text_suggestionsCampbell Barton
The term suggestions on it's own is too ambiguous, use BKE_text prefix.
2019-10-29Fix T71171: Problems removing texture packing (without writing anything)Philipp Oeser
using image.unpack() or bpy.ops.image.unpack() If we offer this in the UI, also expose this to .unpack Maniphest Tasks: T71171 Differential Revision: https://developer.blender.org/D6152
2019-09-11Depsgraph: Pass bmain to depsgraph object creationSergey Sharybin
Currently unused, but will allow to keep of an owner of the depsgraph. Could also simplify other APIs in the future by avoiding to pass bmain explicitly to relation update functions and things like that.
2019-09-09UI: Format Memory Strings in BinaryHarley Acheson
Show all memory-related byte size strings calculated with a base of 1024. Differential Revision: https://developer.blender.org/D5714 Reviewed by Brecht Van Lommel
2019-08-26Cleanup: use BLI_assertCampbell Barton
2019-08-17Cleanup: spellingCampbell Barton
2019-08-06Cleanup: move utf8 offset conversion into BLI_string_utf8Campbell Barton
There isn't anything specific to text data with these functions.
2019-08-01Cleanup: misc spelling fixesCampbell Barton
T68035 by @luzpaz
2019-07-10Cleanup: avoid line breaks from trailing commentsCampbell Barton
2019-07-07Cleanup: use BKE_packedfile prefix for function namesCampbell Barton
Avoid ambiguity with terms check & compare.
2019-06-11Fix/Cleanup: I18N: Bad usage of IFACE_ instead of TIP_.Bastien Montagne
Cheap tip: anything that is not "Camel Case" and/or that is more than a few words long should use `TIP_` translation, not `IFACE_` one. Also added several missing strings (including the one reported in D5056 by Jean First (@robbott), thanks).
2019-05-31Fix T65278: Stats info and instancing "misinformation"Dalai Felinto
Object could and polygon count should ignore multiple instances of the same data, yet count it at least once even if linked. Reviewers: brecht Differential Revision: https://developer.blender.org/D4986
2019-05-31Cleanup: style, use braces in source/ (include disabled blocks)Campbell Barton
2019-05-14Cleanup: isolate image dirty flag access in functionsBrecht Van Lommel
2019-05-01ClangFormat: run with ReflowComments on source/Campbell Barton
Prepare for enabling ReflowComments.
2019-04-30Refactor: Separate scrollers from text drawing in APIJacques Lucke
This is a continuation of rB7fdffd735ff24, where I separated the e.g. frame number drawing from scrollers internally. This patch changes the API, so that space draw handlers have to draw these numbers explicitely. This greatly simplifies the scrollers API for all spaces that just need scrollers without any frame numbers. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D4747
2019-04-29Fix shift-click to select multiple reportsCampbell Barton
D4751 by @Poulpator
2019-04-26Keymap: Support shift-click to select multiple reportsCampbell Barton
Also support drag for box-select, matching the outliner. D4660 by @Poulpator with edits.
2019-04-24Cleanup: sort CMake include pathsCampbell Barton
2019-04-22Cleanup: style, use braces for editorsCampbell Barton
2019-04-17ClangFormat: format '#if 0' code in source/Campbell 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-04-16Fix T63429: Random deselect function lostSebastian Parborg
Add back the ability to choose the select operation for random select. Now we allow the operator to specify if the select operation should be visible in the GUI or not. Reviewed By: Brecht Differential Revision: http://developer.blender.org/D4665
2019-04-14CMake: prepare for BLENDER_SORTED_LIBS removalCampbell Barton
No functional change, this adds LIB definition and args to cmake files. Without this it's difficult to migrate away from 'BLENDER_SORTED_LIBS' since there are many platforms/configurations that could break when changing linking order. Manually add and enable WITHOUT_SORTED_LIBS to try building without sorted libs (currently fails since all variables are empty). This check will eventually be removed. See T46725.
2019-03-28UI: tweak display of report messages in the status bar.Nathan Craddock
Remove fading away the color, share theme colors with info editor. Differential Revision: https://developer.blender.org/D4197
2019-03-26Cleanup: style, use braces for editor/spacesCampbell Barton
2019-03-15Cleanup: indentation, wrappingCampbell Barton
Mostly functions wrapping args, not confirming to our style guide.
2019-03-08Fix: Info window select all toggle brokenCampbell Barton
D4477 by @Poulpator
2019-03-08Cleanup: use plural names for Main listsCampbell Barton
Convention was not to but after discussion on 918941483f7e we agree its best to change the convention. Names now mostly follow RNA. Some exceptions: - Use 'nodetrees' instead of 'nodegroups' since the struct is called NodeTree. - Use 'gpencils' instead of 'grease_pencil' since 'gpencil' is a common abbreviation in the C code. Other exceptions: - Leave 'wm' as it's a list of one. - Leave 'ipo' as is for versioning.
2019-03-07Tool System: use set/add/subtract for all box select operatorsCampbell Barton
2019-03-06WM: match select all behavior for the info spaceCampbell Barton
Adds select invert to the operator. D4454 by @Poulpator
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-12Fix T61469: wrong object statistics when using instances.Brecht Van Lommel
The new code already loops over all instances, don't need to be counted again.
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.