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
2015-08-23This commit makes it possible to select the sort mode whenever we invoke an ↵Thomas Beck
operator. It's needed especially for the menu entry "recover auto save" where you'd like to have the files sorted by date most of the time but it could be useful in other places too. There should be no functional change in other areas, I just added the missing parameter (FILE_SORT_ALPHA). Was a request from @sebastian_k at #BCon13, so at least one guy needs it ;) Reviewers: mont29 Reviewed By: mont29 Subscribers: sebastian_k Differential Revision: https://developer.blender.org/D1476
2015-08-21Fix uninitialized var useCampbell Barton
2015-08-18Refactor translation code out of blenfontCampbell Barton
- Add blentranslation `BLT_*` module. - moved & split `BLF_translation.h` into (`BLT_translation.h`, `BLT_lang.h`). - moved `BLF_*_unifont` functions from `blf_translation.c` to new source file `blf_font_i18n.c`.
2015-08-04SCons: Fix for really nasty bug with polluting configuration environmentSergey Sharybin
The issue was caused by the following construction: def = env['SOMETHING'] defs.append('SOMETHING_MORE') Since first assignment was actually referencing environment option it was totally polluted hawing weird and wonderful side effects on all other areas of Blender.
2015-07-27Don't allocate MFace's by defaultCampbell Barton
This removes CD_MASK_MFACE from CD_MASK_BAREMESH, CD_MASK_DERIVEDMESH and others. Callers that need it must explicitly add it to their data-masks.
2015-07-25Cleanup: warnings, styleCampbell Barton
2015-07-23Use looptri for smoke collisions & particle editCampbell Barton
2015-07-21Cleanup: styleCampbell Barton
2015-06-30Cleanup: move BLI_timestr to BLI_timecodeCampbell Barton
2015-06-05Fix T44960: Crash with 'Shape Cut' in edit hair mode.Bastien Montagne
This is only supported for mesh objects so far. Also, abort in case there are no faces in dm (instead of crashing on NULL BVH tree...).
2015-05-03Rigidbody: Fix viewport update when changing collision shape in toolbarSergej Reich
2015-04-20Cleanup: use ED_view3d_backbuf_* prefixCampbell Barton
2015-04-20Cleanup: use macro for common view3d zbuf checkCampbell Barton
2015-04-18Cleanup: API naming use BKE_undo_ prefixCampbell Barton
2015-02-19RNA: pass only 0/1 to RNA_property_boolean_setCampbell Barton
2015-02-03Possible NULL de-reference on fullsceen checkCampbell Barton
Also quiet some other minor warnings
2015-02-02cleanup: style/spellingCampbell Barton
2015-01-27Followup fix for T43394: Reconnect feature was using identity matrix forLukas Tönne
transforming hair into world space, but this is already happining due to the global flag. Still is a horrible mess, legacy code headache as always ...
2015-01-26Fix T43394: hair remapping needs to handle "global" hair correctly.Lukas Tönne
The function was checking the psys flag for this, but since for disconnect/connect the same psys is used as source and target, the flag must be passed explicitly.
2015-01-20Cleanup: warningsCampbell Barton
2015-01-20Second variant of the copy-to-select operator for particles to onlyLukas Tönne
copy the active particle system (and not remove existing in the process).
2015-01-20Make removal of existing particle systems on copying optional.Lukas Tönne
This will be most useful when copying individual particle systems one-by-one (to be implemented).
2015-01-20Added space selection option to the particle system copy operator.Lukas Tönne
By default this now copies from one object's local space to another object's local space (instead of the previous world space). This is more useful when transferring particles between objects, because it doesn't require moving objects on top of each other, as long as they have similar shapes.
2015-01-20Removed debugging code.Lukas Tönne
2015-01-20Fix for particle system copy: This has to make sure the ORIGSPACE dataLukas Tönne
layer is available. Otherwise particle mapping to the new mesh cannot work with subdivided and constructively-modified meshes.
2015-01-20Changed the workflow for the particle system copy operator to the commonLukas Tönne
active-to-selected pattern.
2015-01-20New operator for copying (hair) particle systems from one object toLukas Tönne
another, including edit data (grooming). This uses basically the same method as the existing connect/disconnect feature. The main difference is that it allows working with multiple objects and transferring the //particle/hair data// instead of the //mesh// data (which is what connect/disconnect expects). This is a much more realistic workflow when rigging, topology etc. changes and groomed hair has to be transferred to the changed model.
2015-01-20Pampering the stupid MSVC compiler again, it fails to build valid C code.Lukas Tönne
2015-01-20Fix for warnings/errorsLukas Tönne
Conflicts: source/blender/blenkernel/intern/key.c source/blender/blenkernel/intern/particle_system.c source/blender/makesrna/intern/rna_particle.c
2015-01-20Removed unused line.Lukas Tönne
2015-01-20New hair editing feature "Shape Cut", for cutting hair based on a meshLukas Tönne
shape instead of a brush tool. The brush cutting tool for hair, while useful, is not very accurate and often requires rotating the model constantly to get the right trimming on every side. This makes adjustments to a hair shape a very tedious process. On the other hand, making proxy meshes for hair shapes is a common workflow. The new operator allows using such rough meshes as boundaries for hair. All hairs that are outside the shape mesh are removed, while those cutting it at some length are shortened accordingly. The operator can be accessed in the particle edit mode toolbar via the "Shape Cut" button. The "Shape Object" must be set first and stays selected as a tool setting for repeatedly applying the shape.
2015-01-04FileBrowser: Cleanup: rename some (really ugly) enum names.Bastien Montagne
2014-11-29Cleanup: unused headersCampbell Barton
2014-11-28Cleanup: unused headersCampbell Barton
2014-11-19Refactor: Move part of vgroup handling code from ED_mesh/object_vgroup.c to ↵Bastien Montagne
BKE_object_deform. Along with some minor cleanup and simplifications. Reviewers: campbellbarton Subscribers: sergey Differential Revision: https://developer.blender.org/D903
2014-10-08Select Random in Particle Edit Mode, by jezvLukas Tönne
Added the select random functionality in particle edit mode for hairs or control points. Reviewers: campbellbarton, lukastoenne Reviewed By: lukastoenne Subscribers: campbellbarton, kevindietrich, jezv Projects: #quick_hacks, #bf_blender, #physics Maniphest Tasks: T37873 Differential Revision: https://developer.blender.org/D809
2014-10-08Ghost Context RefactorJason Wilkins
https://developer.blender.org/D643 Separates graphics context creation from window code in Ghost so that they can vary separately.
2014-09-24Cleanup: use float versions of functions when in/output are floatsCampbell Barton
2014-09-19Fix T41865: Fluid bake not possible in windows using a python script from ↵Sergey Sharybin
the command line Stupid missing variables initialization.
2014-07-11Fix T41019: Calculate Mass does not calculate actual volume.Lukas Tönne
This was a ToDo item, for mesh-based rigid body shapes (trimesh, convex) the operator was simply using the bounding box volume, which can grossly overestimate the volume and mass. Calculating the actual volume of a mesh is not so difficult after all, see e.g. http://research.microsoft.com/en-us/um/people/chazhang/publications/icip01_ChaZhang.pdf This patch also allows calculating the center-of-mass in the same way. This is currently unused, because the rigid body system assumes the CoM to be the same as the geometric object center. This is fine most of the time, adding such user settings for "center-of-mass offset" would also add quite a bit of complexity in user space, but it could be necessary at some point. A number of other physical properties could be calculated using the same principle, e.g. the moment of inertia.
2014-07-02Fix T40815: Particle birth times not initialized correctly.Lukas Tönne
In rB78c491e the `initialize_particle` function was split into 2 parts for particle texture initialization. The texture init part however also initializes birth times, which is now missing in the main init function in some cases (notably when setting start/end directly without a subsequent time step).
2014-06-26Code cleanup: remove MAT3/4_UNITY defines, just call unit_m3/4Campbell Barton
2014-06-17Fix T40638: Crash in Particle System, Connect HairSergey Sharybin
2014-06-01Fix T40447: Creating Rigid Bodies is rejected for meshes without polys.Lukas Tönne
This check prevents using empty (no faces) meshes as rigid bodies. While the idea makes sense, it also prevents using modifier-constructed meshes, where faces are added only by the modifiers. Further the check is very easy to circumvent, by removing faces after making the rigid body, or by assigning a different mesh datablock afterward. Suggested by Fabian Emmes (@der_fab).
2014-05-05Stop all dynamic enums using translations (from blend file data)Campbell Barton
2014-04-30Code cleanup: remove unused headerCampbell Barton
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-23Code cleanup: style and use switch () for (un)packCampbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton