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-04-21Cleanup: comments (long lines) in editorsCampbell Barton
2019-04-20Cleanup: add missing macros to clang-formatCampbell 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-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-04-14Cleanup: doxy commentsCampbell Barton
Use doxy references to function and enums, also correct some names which became out of sync.
2019-04-02Cleanup: empty expression statement warningCampbell Barton
2019-03-19UV: Use BLI_kdtree_2d for 2D dataCampbell Barton
2019-03-19Cleanup: use BLI_kdtree_3d prefixCampbell Barton
Use prefix now there isn't only the 3d version.
2019-03-14Fix T61937: image sequences not updating in workbench display mode.Brecht Van Lommel
Need to pass the image user along to get the frame number.
2019-03-14Cleanup: remove redundant UV select linked optionsCampbell Barton
2019-03-14Cleanup: doxy sectionsCampbell Barton
2019-03-05UV/VCol layers creation: add option to not init those new data.Bastien Montagne
`ED_mesh_uv_texture_add()`/`ED_mesh_color_add()` would always either copy data from current active one, or (for UVs), generate default 'valid' UVs for every face. This commit adds an option to not do that, just keeping default values from raw CDLayer creation. It is only used/exposed from RNA API currently. This is especially useful for importer add-ons, since some formats support multiple layers of those kind, as well as 'partial' dataset not explicitely defining values for all mesh items. Preliminary step to fix T62224.
2019-03-05Tool System: use set/add/subtract for all circle select operatorsCampbell Barton
This applies changes from the 3D view circle select to other operators.
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-17Cleanup: rename Mesh.edit_btmesh -> edit_meshCampbell Barton
When bmesh was in a branch we had both edit_mesh and edit_btmesh, now there is no reason to use this odd name.
2019-02-14Fix T61472: Hide Unselected fails w/ no selectionCampbell Barton
Also skip mesh recalculation when no hide/reveal is performed.
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-05UVEdit: Add function variants based on ToolSettingsClément Foucault
This is better than passing a scene pointer when we don't have one.
2019-02-05Cleanup: remove contributors for CMake filesCampbell Barton
Following removal from C source code. See: 8c68ed6df16d8893
2019-02-03Cleanup: trailing commasCampbell Barton
Needed for clan-format not to wrap onto one line.
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-28Cleanup: sort forward declarations of enum & structCampbell Barton
Done using: source/tools/utils_maintenance/c_sort_blocks.py
2019-01-26Cleanup: remove redundant BKE/BLI/BIF headersCampbell Barton
2019-01-24Fix T59972: UV live unwrap does not pack islands.Brecht Van Lommel
Packing was not being called after multi-object editing changes. Includes code refactoring to make function parameters more clear.
2019-01-15Cleanup: commas at the end of enumsCampbell Barton
Without this clang-format may wrap them onto a single line.
2019-01-15Cleanup: comment line length (editors)Campbell Barton
Prevents clang-format wrapping text before comments.
2019-01-11UVEdit: Port texpaint_loop_wire to batch requestClément Foucault
This removes code duplication and put an end to the old "create at request" batch creation. Also it uses the same vbo as the uv layer used for shading. Reducing VRAM usage. Also fixes the modified uv display in uv edit mode.
2019-01-11UVEdit: Add back uv angle stretch aspect correctionClément Foucault
This is now done in shader so that the batches are shared across ImageUV areas.
2019-01-11UVEdit: Port batches to batch requestClément Foucault
This is in order to allow more spaces to have their batches created at the same time and sharing the batches. This is part of the effort fo making the drawing code more optimized. This commit however should not introduce any difference. This commit bypass the aspect ratio correction for angle stretch display but this should be fixed in the next commit.
2018-12-24Fix/cleanup typos and such in UI messages (and some comments).Bastien Montagne
2018-12-21Fix T59668: UV unwrap pinning bugs.Brecht Van Lommel
With multi object editing it creates the charts twice, which broke some logic in the unwrapper.
2018-12-20Fix T59672: UVs are not updating when changed in panelJacques Lucke
Reviewers: brecht Differential Revision: https://developer.blender.org/D4111
2018-12-20Cleanup: argument wrapping indentationCampbell Barton
2018-12-18Fix T59009: UV unwrapp correct aspect fails on some shapes.Daniel
Differential Revision: https://developer.blender.org/D4095
2018-12-15UV pin: Use ID_RECALC_COPY_ON_WRITE instead of the almighty 0Dalai Felinto
I suppose the cow tag is more correct for those generic/non-specific tags. Thank you Sergey.
2018-12-15Fix T59381: UV editor - Pinned vertex missing updateDalai Felinto
Pinning doesn't really change the geometry, so we don't really have a tag for this. Using '0' for now (same we use for Mark Seam). I will check with Sergey Sharybin which flag to use instead. We could use ID_RECALC_GEOMETRY to match the notifier, but even the simpler ID_RECALC_SELECT would do it.
2018-12-14Merge branch 'master' into blender2.8Campbell Barton
2018-12-14Missed last commitCampbell Barton
2018-12-14Cleanup: naming (mean -> median) see T47811Campbell Barton
2018-12-11Fix T59001: UV Editor - Crash when hiding all UVs while 3D view is openPhilipp Oeser
and sync selection enabled Reviewers: brecht Maniphest Tasks: T59001 Differential Revision: https://developer.blender.org/D4066
2018-12-07Fix T57640: UV unwrap packing not working without sync selection.Brecht Van Lommel
2018-12-07Depsgraph: Remove duplicated sets of recalc/update flagsSergey Sharybin
There were at least three copies of those: - OB_RECALC* family of flags, which are rudiment of an old dependency graph system. - PSYS_RECALC* which were used by old dependency graph system as a separate set since the graph itself did not handle particle systems. - DEG_TAG_* which was used to tag IDs. Now there is a single set, which defines what can be tagged and queried for an update. It also has some aggregate flags to make queries simpler. Lets once and for all solve the madness of those flags, stick to a single set, which will not overlap with anything or require any extra conversion. Technically, shouldn't be measurable user difference, but some of the agregate flags for few dependency graph components did change. Fixes T58632: Particle don't update rotation settings
2018-12-06Fix T58663: UV Align Auto does nothingPhilipp Oeser
one case was missing in cleanup commit rB8fc6609cc008
2018-12-01Cleanup: styleCampbell Barton
2018-11-263D View: remove 3D cursorCampbell Barton
Use 3D cursor from the scene (was previously used for local-view).
2018-11-25Local ViewDalai Felinto
Bring back per-viewport localview. This is based on Blender 2.79. We have a limit of 16 different local view viewports. We are using both the numpad /, as well as the regular /. Missing features: * Hack to make sure lights are always visible. * Make rendered mode with external engines to support this as well (probably just need to support this in the RNA iterators). * Support over 16 viewports by taking existing viewports out of local view. The code can use a cleanup pass in the future to unify the test to see if an object is visible (or we can use TESTBASE in more places).
2018-11-23Fix uv lasso/box multi-object select logicCampbell Barton
Was de-selecting all UV's on each iteration.
2018-11-23Tool System: uv lasso/box select optionsCampbell Barton
These tools now support (new, add, subtract), (xor, and) could be supported but are complicated by UV's sticky selection modes.
2018-11-18Keymap: move left click select to a preferenceCampbell Barton