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
2018-06-04Merge branch 'master' into blender2.8Campbell Barton
2018-06-04Cleanup: strip trailing space in editorsCampbell Barton
2018-05-22Cleanup: replace MEM_SAFE_FREE -> MEM_freeNCampbell Barton
No need to check for NULL in this case.
2018-05-14UV: multi-object project boundsCampbell Barton
D3368 by @Al with own edits.
2018-05-12UI: move pivot to the topbarCampbell Barton
Pivot variables are now stored in scene toolsettings.
2018-05-12EditMode: multi-object UV cube projectCampbell Barton
D3346 by @Cykyrios
2018-05-12EditMode: multi-object UV cylinder projectCampbell Barton
D3345 by @Cykyrios
2018-05-12EditMode: multi-object UV sphere projectCampbell Barton
D3344 by @Cykyrios
2018-05-12EditMode: multi-object UV resetCampbell Barton
D3343 by @Cykyrios
2018-05-08Orientation for 3D cursorCampbell Barton
Currently set when setting the cursor location, optionally used as an orientation type. Intended for use by tools too. See: D3208
2018-04-19Remove Blender Internal and legacy viewport from Blender 2.8.Ton Roosendaal
Brecht authored this commit, but he gave me the honours to actually do it. Here it goes; Blender Internal. Bye bye, you did great! * Point density, voxel data, ocean, environment map textures were removed, as these only worked within BI rendering. Note that the ocean modifier and the Cycles point density shader node continue to work. * Dynamic paint using material shading was removed, as this only worked with BI. If we ever wanted to support this again probably it should go through the baking API. * GPU shader export through the Python API was removed. This only worked for the old BI GLSL shaders, which no longer exists. Doing something similar for Eevee would be significantly more complicated because it uses a lot of multiplass rendering and logic outside the shader, it's probably impractical. * Collada material import / export code is mostly gone, as it only worked for BI materials. We need to add Cycles / Eevee material support at some point. * The mesh noise operator was removed since it only worked with BI material texture slots. A displacement modifier can be used instead. * The delete texture paint slot operator was removed since it only worked for BI material texture slots. Could be added back with node support. * Not all legacy viewport features are supported in the new viewport, but their code was removed. If we need to bring anything back we can look at older git revisions. * There is some legacy viewport code that I could not remove yet, and some that I probably missed. * Shader node execution code was left mostly intact, even though it is not used anywhere now. We may eventually use this to replace the texture nodes with Cycles / Eevee shader nodes. * The Cycles Bake panel now includes settings for baking multires normal and displacement maps. The underlying code needs to be merged properly, and we plan to add back support for multires AO baking and add support to Cycles baking for features like vertex color, displacement, and other missing baking features. * This commit removes DNA and the Python API for BI material, lamp, world and scene settings. This breaks a lot of addons. * There is more DNA that can be removed or renamed, where Cycles or Eevee are reusing some old BI properties but the names are not really correct anymore. * Texture slots for materials, lamps and world were removed. They remain for brushes, particles and freestyle linestyles. * 'BLENDER_RENDER' remains in the COMPAT_ENGINES of UI panels. Cycles and other renderers use this to find all panels to show, minus a few panels that they have their own replacement for.
2018-04-18Cleanup: consistent changed_multi assignmentCampbell Barton
2018-04-16Cleanup: indentationCampbell Barton
Indent lines for multi object editing, no functional changes. Also strip trailing space from indented regions.
2018-04-16Multi-Object EditingCampbell Barton
This adds initial multi-object editing support. - Selected objects are used when entering edit & pose modes. - Selection & tools work on all objects however many tools need porting See: T54641 for remaining tasks. Indentation will be done separately. See patch: D3101
2017-11-20Merge branch 'master' into blender2.8Campbell Barton
2017-11-20UV Cube Project: improve default behaviorCampbell Barton
- initialize the cube-size from the bounding box when it's not set. - no longer wrap faces to keep in 0-1 bounds, other projection methods don't do this and calculating the scale prevents the UV's from being too far outside the view.
2017-11-17Merge branch 'master' into blender2.8Sergey Sharybin
2017-11-17Fix UV Projection Center CalculationCampbell Barton
UV project mixed up global/local space, 3D cursor offset didn't take object scale into account. Minor improvements: - Match Cube Project 'center' behavior w/ sphere & cylinder. - Add active-element center. - Wrap UV's in Cube Project based on center instead of first vertex.
2017-10-18Merge branch 'master' into blender2.8Campbell Barton
2017-10-18Cleanup: Use const for RNA EnumPropertyItem argsCampbell Barton
Practically all access to enum data is read-only.
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-05-25TexFace removal part 3Campbell Barton
- MTexPoly structure & layer type. - The 'Mesh.uv_textures' layers. - DerivedMesh TexFace drawing. - Scripts & UI.
2017-05-24TexFace removal part 2Campbell Barton
- Derived-mesh drawing. - All non UV members of TexFace structs. MTexPoly is now redundant but keeping with a dummy member, will check on complete removal later.
2017-05-24Remove TexFace, per-face imagesCampbell Barton
TexFace complicates the now more popular shading pipeline by having per-face images, see: T51382 for details. To keep the ability to select a per-material edit-image (used with UV-mapping workflow), the material now stores an image which will be set when changing images in edit-mode. This is used as a bake-target when not using Cycles too.
2016-12-28Various UI message and API doc tweaks and fixes.Bastien Montagne
Mostly from patch D2256 by Aaron Carlisle (@Blendify), thanks!
2016-05-14Fix T48426: Use same length for all header message strings.Bastien Montagne
Some languages like Chinese or Japanese take three or four bytes per char... Also fixed some missing translation markers for UI header messages.
2016-04-11Fix T48082: Unwrap overwrites face selectionCampbell Barton
Sync selection option made adding a new UV layer select all edit-mesh faces. Now just select the UV's, ignoring sync-select option.
2016-03-02Fix T47564: Unwrapping the same mesh results in different UVs.Bastien Montagne
Pointers of faces were passed as face keys during parametrizer's face creation. Since those addresses were different for every run, the layout of the faces ended up being different in the internal hash, leading to inconsistent order of their evaluation during LSCM solving, and slightly different UV maps. Solved by simply using faces' indices as key instead, which ensures we always get same results with exact same input data now. Many thanks to Roman Nagornov (RomanN) for raising the issue, investigating it and finding the solution! And thanks to Brecht for quick review too.
2015-12-01Cleanup: use more logical names for View3D.aroundCampbell Barton
D1651 (own patch)
2015-10-19Fix T46529: Unwrap UV w/ use-subsurf failsCampbell Barton
Regression since moving to looptri.
2015-04-27Cleanup: rename GRAB_POINTER -> GRAB_CURSORCampbell Barton
Term pointer is overloaded already.
2015-01-26UV Unwrap: Correct aspect was invertedCampbell Barton
2014-12-11Fix T42859 smart UV unwrap does not support aspect correction.Antony Riakiotakis
Can be considered TODO but it's not bad to support either. Also added RNA api to get aspect ratio of assigned UV image - returns aspect corrected image dimensions so needs adjustments for uv editing.
2014-10-31Cleanup: namingCampbell Barton
2014-10-31Texture Paint Add Simple UVs:Antony Riakiotakis
Add simple uvs now does a cube unwrap and pack operation. Result is not optimal by far but it should not result in crashes and it will be quite usable for simple cases.
2014-07-23Bake-API: Test for cyclic node connectionDalai Felinto
If the active image node contributes to the final material shader (meaning it's either directly or indirectly connected to an Output Node) the user will receive an alert about circular dependency. Similar to what we do for Blender internal the baking will still happen, but the user will receive the alert which should prevent the image saving to happen if the result was not intentional. Core function to check for node output written by Lukas Toenne. Reviewers: lukastoenne, campbellbarton Differential Revision: https://developer.blender.org/D673
2014-07-21Math Lib: rename mul_serie_m3 to mul_m3_series & reorder argsCampbell Barton
Importantly, reversed mul_serie_m3 argument order (so it matches the m4 function)
2014-07-20Math Lib: use variable length args for mul_serie_m3,m4 (instead of trailing ↵Campbell Barton
NULL's)
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-26Code cleanup: use 'const' for arrays (editors)Campbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-02-14Code cleanup: duplicate headersCampbell Barton
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-01-23Cleanup: int/short to bool in BKE_cdderivedmesh.h functions (and TRUE/FALSE ↵Bastien Montagne
to true/false in code using them).
2013-12-09View3D API: rename view3d_camera_get to ED_view3d_camera_data_getCampbell Barton
2013-10-31remove return argument from wmOperatorType->cancel, was only ever returning ↵Campbell Barton
OPERATOR_CANCELLED.
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-10-26rename give_cursor to ED_view3d_cursor3d_getCampbell Barton
2013-09-11uv-pack operator: option to rotate uv islands to fit in the optimal ↵Campbell Barton
rectangle when packing.
2013-08-07code cleanup: more confusion with 0/NULL/falseCampbell Barton