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-08-16Update code comments from DAG_id_tag_update to DEG_id_tag_updateDalai Felinto
2017-08-16Pass EvaluationContext instead of bContextCampbell Barton
2.8x branch added bContext arg in many places, pass eval-context instead since its not simple to reason about what what nested functions do when they can access and change almost anything. Also use const to prevent unexpected modifications. This fixes crash loading files with shadows, since off-screen buffers use a NULL context for rendering.
2017-08-15Manipulator: grab3d use own vars to store offsetCampbell Barton
Was complicating general use case, also support for transforming with matrix_space set. Add matrix_space support for manipulator_window_project_2d too.
2017-08-11Transform: Snap used multiple eval contextsCampbell Barton
Changes for 2.8x to use EvaluationContext caused some confusion - Would use scene layer passed from snap context. - Would generate duplis from Main eval context. - Would take context argument and use it to create another eval context. Adding context args all over and filling in a new eval-context for every ray-cast test isn't ideal either. Remove the context argument since the purpose of SnapObjectContext is to avoid this kind of confusion. Store the EvaluationContext once and re-use.
2017-08-10Manipulator: rename grab enumCampbell Barton
We'll want some 3D shapes, so name existing shapes 2D
2017-08-09Fix spin rotate axisCampbell Barton
Also disable lamp-target for cameras (might enable later).
2017-08-09Manipulator: replace hard coded color w/ themeCampbell Barton
2017-07-27Manipulator: remove namesCampbell Barton
They weren't used anywhere, both C & Py manipulators better assign to vars (no lookup needed).
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-07-21Set face-map to active when selectingCampbell Barton
It was annoying have to use select operator to know which facemap applies to the active face. This behavior follows materials.
2017-07-19Merge branch 'master' into blender2.8Campbell Barton
2017-07-19Fix topology mirror ignoring center vertsCampbell Barton
Caused select-mirror to fail with edges & faces.
2017-07-13Merge branch 'master' into blender2.8Campbell Barton
2017-07-13Fix T51100: Vertex pick fails after extrudeCampbell Barton
2017-06-26Fix T51559: Update draw cache when changing flat/smooth shadingLuca Rood
This also renames some flags/variables to be more generic for updating purposes. The call used here was previously only used for updating paint data, but as it was reused here, flags and variables were renamed to accomodate more clearly to the new usages.
2017-06-26Manipulator: use 'void *' for callback data argsCampbell Barton
Non-float properties should be editable too.
2017-06-23Manipulator: flip scale flag usageCampbell Barton
Naming was confusing, while technically correct - the result is no scaling (manipulator ignores zoom-level). Also remove 3D from name since this can be supported for 2D views too.
2017-06-23Manipulator: rename struct membersCampbell Barton
Rename: - matrix -> matrix_basis - user_scale -> scale_basis - scale -> scale_final Match RNA names being added to custom-manipulator branch.
2017-06-22Manipulator: target property definitionsCampbell Barton
Changes from custom-manipulator branch. - use property type definitions. - add property free callback. - move properties into the wmManipulator struct (over alloc). - use array length from property types instead of arg passing.
2017-06-21Manipulator: edit_properties -> target_propertiesCampbell Barton
Naming was too confusing between properties of a manipulator and properties it edits.
2017-06-21Manipulators: move settings to ID propertiesCampbell Barton
This makes manipulator access closer to operators, and allows Python access. This adds RNA for manipulators, but not Python registration yet. - Split draw style into 2x settings: `draw_style` (enum) & `draw_options` (enum-flag) - Rename wmManipulator.properties -> properties_edit, Use wmManipulator.properties for ID-properties. Note that this area of the API will need further work since manipulators now have 2 kinds of properties & API's to access them.
2017-06-19Gawain API naming refactorCampbell Barton
Use consistent prefix for gawain API names as well as some abbreviations to avoid over-long names, see: D2678
2017-06-19Cleanup: quiet warningsCampbell Barton
2017-06-19Manipulator: de-duplicate flags and scale optionCampbell Barton
2017-06-19Merge branch 'master' into blender2.8Campbell Barton
2017-06-18Manipulator: use matrix for manipulator directionCampbell Barton
Remove type-specific axis functions.
2017-06-17Manipulator: use matrix instead of originCampbell Barton
This avoids having to use manipulator-type specific functions to set the orientation. And will make it simpler to access transformation from Python. Currently the matrix is still used as an offset in places. Also per-type orientation values still need to be removed.
2017-06-17Add Cone: tip soft-min should be zeroCampbell Barton
Default value should be included in range.
2017-06-17Manipulator: draw options for dialCampbell Barton
- Option to start helper angle lines based on a vector instead of the initial mouse coords (useful for bisect & spin). - Option to show 2x helper lines useful when dial is used to rotate an axis value.
2017-06-17Manipulator: Ignore zoom-level for on-screen widgetsCampbell Barton
2017-06-17Manipulator: remove type specific 'new' functionsCampbell Barton
Instead use generic 'WM_manipulator_new', adding a new 'setup' callback (like wmManipulatorGroup.setup) used to initialize type vars. This moves conventions closer to wmOperator and simplifies exposing to Python.
2017-06-16Manipulator: initial manipulator for spin operatorCampbell Barton
2017-06-16Manipulator: New grab preset, use for bisectCampbell Barton
2017-06-16Add bisect manipulatorCampbell Barton
Example that uses library widgets to control an operator, the API hasn't been reviewed yet so this can be seen as a test.
2017-06-15Merge branch 'master' into blender2.8Campbell Barton
2017-06-15Math Lib: add angle_on_axis_v3v3_v3Campbell Barton
Use for calculating the angle between 2 directions on an axis. Also signed version and normalized plane projection, use when input is normalized.
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-06-01Correct select-similar end valueCampbell Barton
2017-06-01Add Face-Map to select similarCampbell Barton
Handy for setting up face-maps, also allows selecting all faces with no assigned map.
2017-05-28Merge branch 'master' into blender2.8Bastien Montagne
2017-05-27Fix T51637: Mesh Tools - Noise Button Crashes.Bastien Montagne
Logic behind which mtext to use from material was broken here... Though ultimately that whole tool could probably be deprecated or reworked!
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.
2017-05-22Merge branch 'master' into blender2.8Bastien Montagne
Conflicts: source/blender/blenloader/intern/versioning_270.c
2017-05-22Enhance vgroup handling when merging meshes.Bastien Montagne
We were looping over all vgroups in destination mesh and making string comparison, for every vgroup of every vertex of merged mesh! Crazy! Now we simply create a temp mapping of vgroup indices, seriously simplifies things (and gives significant speedup when merging huge meshes with lots of vgroups, here with quick stupid test went from 120ms in vgroup merging to less than 5ms, 25 times quicker!).
2017-05-04Vertex paint with draw managerLuca Rood
Reviewers: fclem Subscribers: campbellbarton, dfelinto Differential Revision: https://developer.blender.org/D2658
2017-05-03Weight painting with draw managerLuca Rood
This implements weight rendering with the draw manager, with all drawing options (Shading, wire, face masking, vertex masking). This is part of T51208 Reviewers: campbellbarton Subscribers: dfelinto Differential Revision: https://developer.blender.org/D2654
2017-04-25Merge branch 'master' into blender2.8Sybren A. Stüvel