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
2017-07-21Pass EvaluationContext argument everywhereLuca Rood
Note that some little parts of code have been dissabled because eval_ctx was not available there. This should be resolved once DerivedMesh is replaced.
2017-06-08Fix compilation error after recent depsgraph cleanupSergey Sharybin
2017-06-08Replace all old DAG calls with direct calls to new DEG and remove ↵Luca Rood
BKE_depsgraph.h This removes BKE_depsgraph.h and depsgraph.c
2017-02-07Render Layers and Collections (merge from render-layers)Dalai Felinto
Design Documents ---------------- * https://wiki.blender.org/index.php/Dev:2.8/Source/Layers * https://wiki.blender.org/index.php/Dev:2.8/Source/DataDesignRevised User Commit Log --------------- * New Layer and Collection system to replace render layers and viewport layers. * A layer is a set of collections of objects (and their drawing options) required for specific tasks. * A collection is a set of objects, equivalent of the old layers in Blender. A collection can be shared across multiple layers. * All Scenes have a master collection that all other collections are children of. * New collection "context" tab (in Properties Editor) * New temporary viewport "collections" panel to control per-collection visibility Missing User Features --------------------- * Collection "Filter" Option to add objects based on their names * Collection Manager operators The existing buttons are placeholders * Collection Manager drawing The editor main region is empty * Collection Override * Per-Collection engine settings This will come as a separate commit, as part of the clay-engine branch Dev Commit Log -------------- * New DNA file (DNA_layer_types.h) with the new structs We are replacing Base by a new extended Base while keeping it backward compatible with some legacy settings (i.e., lay, flag_legacy). Renamed all Base to BaseLegacy to make it clear the areas of code that still need to be converted Note: manual changes were required on - deg_builder_nodes.h, rna_object.c, KX_Light.cpp * Unittesting for main syncronization requirements - read, write, add/copy/remove objects, copy scene, collection link/unlinking, context) * New Editor: Collection Manager Based on patch by Julian Eisel This is extracted from the layer-manager branch. With the following changes: - Renamed references of layer manager to collections manager - I doesn't include the editors/space_collections/ draw and util files - The drawing code itself will be implemented separately by Julian * Base / Object: A little note about them. Original Blender code would try to keep them in sync through the code, juggling flags back and forth. This will now be handled by Depsgraph, keeping Object and Bases more separated throughout the non-rendering code. Scene.base is being cleared in doversion, and the old viewport drawing code was poorly converted to use the new bases while the new viewport code doesn't get merged and replace the old one. Python API Changes ------------------ ``` - scene.layers + # no longer exists - scene.objects + scene.scene_layers.active.objects - scene.objects.active + scene.render_layers.active.objects.active - bpy.context.scene.objects.link() + bpy.context.scene_collection.objects.link() - bpy_extras.object_utils.object_data_add(context, obdata, operator=None, use_active_layer=True, name=None) + bpy_extras.object_utils.object_data_add(context, obdata, operator=None, name=None) - bpy.context.object.select + bpy.context.object.select = True + bpy.context.object.select = False + bpy.context.object.select_get() + bpy.context.object.select_set(action='SELECT') + bpy.context.object.select_set(action='DESELECT') -AddObjectHelper.layers + # no longer exists ```
2016-04-05Expose new Recast partitioning methods for navmesh generationReinier de Blois
This patch depends on D1747, which upgrades the Recast version. It exposes the new Recast partitioning methods in the navmesh generation. Reviewers: campbellbarton, moguri Reviewed By: moguri Projects: #bf_blender Differential Revision: https://developer.blender.org/D1748
2016-04-05Update Recast version to 1.5.0Reinier de Blois
The version of Recast that Blender ships with is from 2009. This patch updates the Recast version to the latest version, 1.5.0. The Detour version remains untouched. Reviewers: campbellbarton, moguri Reviewed By: moguri Projects: #bf_blender Differential Revision: https://developer.blender.org/D1747
2015-10-06Fix T46392: Navmesh generator error.Bastien Montagne
We now have to explicitely enure tesselation of DMs when we need it. Notes: Maybe we could use looptris here as well? Not a regression (bug already present in 2.75, but not 2.74), nice to backport to 2.76 nontheless.
2015-06-12Use prepend instead of append (avoids list search)Campbell Barton
2015-05-04Add name argument to data creation API callsCampbell Barton
Was adding then renaming, unnecessarily.
2014-08-21BMesh: correct flag useCampbell Barton
Allowed fill to make duplicate faces
2013-10-28move bmesh array lookup data and utility functions from editmesh into bmesh,Campbell Barton
since enough bmesh operations can also take advantage of direct index lookups on verts/edges/faces. developers note: - EDBM_index_arrays_init/ensure/free -> BM_mesh_elem_table_ensure/init/free - EDBM_vert/edge/face_at_index -> BM_vert/edge/face_at_index - EDBM_uv_element_map_create/free -> BM_uv_element_map_create/free - ED_uv_element_get -> BM_uv_element_get
2013-09-12code cleanup: headers - doxy comments.Campbell Barton
2013-08-21use BM_CREATE_NOP arg rather then zero, with pointer and bool args in either ↵Campbell Barton
side in some cases it gets a bit confusing. also correct edge-rotate where bool->flag conversion worked by accident.
2013-08-07code cleanup: more confusion with 0/NULL/falseCampbell Barton
2013-06-28Fix #35902: build navigation mesh crash with multiple meshes selected.Brecht Van Lommel
2013-06-24add api calls for BM_mesh_active_vert/edge_get.Campbell Barton
inspecting the edit-selection inline was cumbersome.
2013-04-16code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and ↵Campbell Barton
BKE_editmesh_bvh.h
2013-04-14code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename ↵Campbell Barton
EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere).
2013-04-01code cleanup: split editmesh_tools.c, into inset, bevel (both modal ↵Campbell Barton
operators) and moved extrude operators into their own file. also move some selection operators from editmesh_tools.c into editmesh_select.c
2013-03-21code cleanup: rename editmode functions so we have ↵Campbell Barton
ED_object_editmode_load/enter/exit
2013-03-20code cleanup: use booleans for mesh and selection code.Campbell Barton
2013-01-28fix for usability issue - navmesh would create the new object on the first ↵Campbell Barton
layer, rather then the layer of the source object(s).
2013-01-27Operators name "cleanup"Dalai Felinto
The operator names all show up in the Search button. As such is nicer if they can all have the main words capitalized. e.g. "Snap strips" should be "Snap Strips" "Copy to clipboard" should be "Copy to Clipboard" This was done with a mix of bash tools, regex, and manual work because I'm too rushed into regex :) + fix bge stereo eye separation tooltip
2013-01-05Tsst... "faled"... :pBastien Montagne
2013-01-04add length average option to 'Follow Active Quads' unwrap, gives nicer results.Campbell Barton
2013-01-04fix [#33758] Blender crashes when user goes to choose "build navigation mesh"Campbell Barton
Give useful reports when the 'MESH_OT_navmesh_make' fails too.
2012-12-19include cleanupCampbell Barton
2012-12-12make EDBM_index_arrays's stay in memory, blender was allocating an array and ↵Campbell Barton
filling it for verts/edges/faces on every redraw. this may introduce bugs which I didn't catch, but they are very easy to identify in a debug build which has asserts to ensure the arrays are valid before use. in my own test drawing ~98,304 quads - this gave an overall ~16% drawing speedup.
2012-12-12use htype flags as arguments to EDBM_index_arrays_init(), no functional changes.Campbell Barton
2012-11-29Fix navmesh after recent bmsh api changes.Sergey Sharybin
2012-11-04code cleanup: quiet -Wdouble-promotion, disabled this warnings for a few ↵Campbell Barton
files since its done throughout the code in some places.
2012-08-31Fix #32458: changing UV image in image editor not working when the active faceBrecht Van Lommel
was not selected. Now changed it so that the active face must also have its UVs shown in the image editor to be used as the source of the image shown.
2012-05-05code cleanup: BKE_scene api naming.Campbell Barton
also stop numpy from being found in /usr/include with cmake.
2012-05-04Fix #31258: collada now selects newly added objects after import.Brecht Van Lommel
2012-04-30style cleanup: re - ↵Campbell Barton
http://wiki.blender.org/index.php/Dev:Doc/CodeStyle#Braces_with_Macros
2012-04-28style cleanup: editors / mesh & objectCampbell Barton
2012-04-28style cleanup: format 'for' loop macros the same as for loops, some renaming ↵Campbell Barton
to BLI_array macros.
2012-04-19remove BM_ITER, BM_ITER_INDEX macros, use ELEM or MESH variants only (the ↵Campbell Barton
maceros had unused args in both cases).
2012-04-19style cleanup: BM_ITER / BM_ITER_INDEX / BMO_ITERCampbell Barton
2012-04-16Fix #30720: Creating Navmesh crashes blenderSergey Sharybin
In fact there were several issues fixed (all of them regressions since bmesh merge): - Creating navmesh crashed because creating new faces for mesh was trying to set default values for all customdata layers in this face. This requires memory pool created for this datablock. Usually this pool is creating on creating datablock if there're some elements to be stored in this block. In cases of regular primitive creating it wasn't an issue because they doesn't create customdata layers, they only creates geometry. Navigation mesh creates geometry and customdata layers (CD_RECAST layer) which used to confuse a bit custom data functions. Solved by ensuring there's memory pool created for polygons datablock after adding new custom data layer. Most probably it's better to be resolved on CD level (like smarter track on changed amount of stored data and so) but prefer not to make such global changes so close to the release. - Toggling edit mode lead to loosing recast datalayer. Solved by adding recast layer to bmesh mask so it'll be copied to/from edit mesh. - Some part of code assumed raycast layer is in face datablock, some that it's in polygon datablock. Made it to be in polygons datablock. Kind of temporary solution to make navmesh working, probably it'll fail if one will want to edit navmesh by hand after it was generated. Proper way would be to ensure the whole navmesh things are using ngons.
2012-03-27style/name cleanup: have EDBM_* functions match our style guide and also ↵Campbell Barton
match BM_ function naming conventions
2012-03-26style cleanup: editors/mesh - mostly whitespace around operatorsCampbell Barton
2012-03-24style cleanup: follow style guide for formatting of if/for/while loops, and ↵Campbell Barton
else if's
2012-03-24style cleanup: mainly for mesh code, also some WM function use.Campbell Barton
2012-03-24code cleanup: more consistent naming for mesh operator functions.Campbell Barton
2012-03-22style cleanup: spaces aroudn operators for operator definitions.Campbell Barton
2012-03-02code cleanup:Campbell Barton
replace casts: '((Mesh *)ob->data)->edit_btmesh' with 'BMEdit_FromObject(ob)' also minor style edits.
2012-02-27style cleanup (mostly whitespace)Campbell Barton
2012-02-20minor edits to have the game engine and player building.Campbell Barton
2012-02-20- remove some unused editmesh functions.Campbell Barton
- copy & rename EditMesh stricts for use with scanfill (remove unused members)