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
path: root/source
AgeCommit message (Collapse)Author
2015-01-12Fix T42069: Fonts /w non-ascii paths fail in win32Campbell Barton
Workaround freetype's use of fopen by swapping FT_New_Face for our own version which uses BLI_fopen.
2015-01-12revert part of 7a1dc20Campbell Barton
These warnings are false positives & confuses intended logic to set dummy values.
2015-01-11Fix T43208 material flickering in edit mode.Antony Riakiotakis
Happens because material setting now occurs in the derived mesh drawing routine as it should. However that means that it also happens during selection and that influenced the drawing state somehow. In 2.72 this did not occur because material setting happened during draw setting (skip or draw) instead of after the draw setting passed (so selection would skip it by use another draw setting function). Of course this violated design but worked. Made it now so backbuffer selection does not enable materials (it's redundant in those cases anyway). This could be ported to a possible 'a' release but as is classic with display code there may be some other places that it could backfire. Tested fix with texture/vertex painting and selection which use backbuffer for both subsurf and regular meshes and it seems to work OK.
2015-01-11Modifiers shall be listed in alphabetical order in UI...Bastien Montagne
2015-01-11Cleanup: quite some harmless but noisy warnings from gcc...Bastien Montagne
2015-01-11Transfer data: cleanup: Remove 'vertex_group_transfer_weight' operator.Bastien Montagne
We can now use 'generic' data transfer instead. Note new one is not an exact replacement, it should be able to do everyting old op could do though, and more.
2015-01-11Data transfer: make operator able to work 'reversed' (i.e. transfer from ↵Bastien Montagne
selected objects to active). Needed to replace weight transfer modifier in WeightPaint mode... Note this is not exposed to users in UI, shall remain technical intern parameter imho. Esp. since behavior when several sources is a bit 'random' (merely uses each source in selection order...). Also, this correct a bug, where 'lib' linked objects/meshes could not be used as source...
2015-01-11Fix T43204: Shrinkwrap constraint, project mode: Space ignored in bone case.Bastien Montagne
Own fault in rBb154aa8c060a60d to fix T42447... Reverted that commit, and added kind of not-so-nice hack instead. Note root of the issue comes from the special case we are doing here re 'Local' space of parent-less objects. In that case, local space should be the same as world one, but instead we apply the object rotation to it... This is inconsistent with all other cases and could very well lead to other issues as T42447, but afraid fixing that properly would be rather hairy - not to mention it would likely break all existing riggings etc. :( Should be safe for a 2.73a, shall we need it.
2015-01-11Fix three issues reported by coverity in own recent code. Including two ↵Bastien Montagne
potential crashers.
2015-01-10Fix building with very strict flags, use size_t rather than int for string ↵Bastien Montagne
length. Reported on bf-committers.
2015-01-10GPencil Editing: FKEY now controls the eraser size when in Stroke Edit ModeJoshua Leung
2015-01-10cleanup: style & warningsCampbell Barton
2015-01-10Fix for regression in bmesh connect-pairCampbell Barton
T42563 fix wasn't right, fortunately this doesn't fail in most cases.
2015-01-10Transfer data: add modifier.Bastien Montagne
Not much to add, modifier uses same code as operator basically, only key difference is that modifier will never create data layers itself, you have to use dedicated operator for that.
2015-01-10Fix: Delkey didn't activate the Grease Pencil strokes delete operator like ↵Joshua Leung
XKEY does
2015-01-09Transfer Data: add main core code and operators.Bastien Montagne
This add code needed to map a CD data layout from source mesh towards destination one, and code needed to actually transfer data, using BKE's mesh remap generated data. This allows to transfer most CD layers (vgroups, vcols, uvs...) as well as fake, boolean ones (like smooth/sharp edges/faces, etc.). Some types are not yet transferable, mainly shape keys, this is known TODO. Data transfer can also use some advanced mixing in some cases (mostly, vgroups and vcols). Notes: * New transfer operators transfer data from active object towards selected ones. * Modifier will be committed separately. * Old weight transfer code (for vgroups) is kept for now, mostly because it is the only usable one in weightpaint mode (it transfers from selected object to active one, this is not sensible in Object mode, but needed in WeightPaint one). This will be addressed soon. Again, heavily reviewed and enhanced by Campbell, thanks!
2015-01-09Radial operator number angle input should use angles.Antony Riakiotakis
Much more lenient if you are a human.
2015-01-09BKE: Add 'mesh remap' code.Bastien Montagne
This is the (big!) core of mesh transfer data, it defines a set of structures to represent a mapping of mesh elements (verts, edges, polys of loops) between two arbitrary meshes, and code to compute such mappings. No similarity is required between source and destination meshes (though results when using complete different meshes are rather unlikely to be useful!). This code is not bound to data transfer, it is defined to be as generic as possible, and easy to reuse or extend as needs arise. Several methods of mapping generation are defined for each element type, we probably will have to adjust that in future (remove useless ones, add new ones...). For loops, you can also define islands (for UVs e.g.) so that loops of a same destination polygon do not 'spread' across several source islands. Heavily reviewed and enhanced by Campbell, thanks a lot!
2015-01-09Fix texture sampling with generative modifiers - sample backbufferAntony Riakiotakis
returns indices in mesh face range
2015-01-09Fix T43174: "Record animation" does not update fcurve handlesBastien Montagne
`INSERT_FAST` implies you call `calchandles_fcurve()` at the end... For now, since we do not store edited FCurves nor can we get them easily (requires RNA...), just update handles of all fcurves, it's much more performant than removing usage of `INSERT_FAST` anyway.
2015-01-09BLI_string: BLI_str_ends_with -> BLI_str_endswithCampbell Barton
Loosely following Python str convention.
2015-01-09Fix rotate around selection only working if object is at origin forAntony Riakiotakis
texpaint
2015-01-09BKE bvhutils: cleanup and refactor to make it more flexible.Bastien Montagne
You can now use lower-level '_ex' versions of bvh creators to only use part of the mesh's elements in the BVH, and/or create bvh from non-DM sources. Needed for transfer data. Note edges extend version of bvh creator is not added here, not needed so far.
2015-01-09BLI_math: add vector's dot_v3v3v3() func, for when you have three points ↵Bastien Montagne
instead of two vectors.
2015-01-09BLI_rand: add a function returning a random point whithin given 2D triangle.Bastien Montagne
Needed by transfer data.
2015-01-09BLI: add 'A*' (AStar) shortest path solver algorithm.Bastien Montagne
Needed for transfer data.
2015-01-09Gooseberry animation request: Paste flipped pose in actionAntony Riakiotakis
and graph editor. This was a tricky commit that was not so straightforward to make work. The information for bones is not easy to come by in the animation curves, however we do have some string manipulation tricks to make it happen. Testing in gooseberry worked for the rigs there, commiting to master now
2015-01-09Fix T43159: Copying of linked datablocks using relpath leads to invalid ↵Bastien Montagne
paths in new copies. Propper fix reverting most of rB60e70c0c6014e5, which was only partial specific fix. This code uses generic `BKE_id_lib_local_paths()` func to handle all possible paths. Reviewers: sergey, campbellbarton Differential Revision: https://developer.blender.org/D977
2015-01-08Fix T43154: Extrude edges ignored isolated vertsCampbell Barton
Also cleanup extrude code. - remove normal calculation. - remove return values for transform type. - use enums. Thanks to Psy-fi for finding the initial fix.
2015-01-08DDS missed newline printing errors.Campbell Barton
2015-01-08Fix T43159: Copying of linked datablocks using relpath leads to invalid ↵Bastien Montagne
paths in new copies. Simply have to rebase onto main filepath when copying, if source datablock is lib and path is relative. Afaict, only affected Image and Text datablocks. MovieClip would also be a candidate, but has no copy implemented currently.
2015-01-08Fix crash in texture paint sampling when sampling materials withoutAntony Riakiotakis
textures slots
2015-01-08Fix for wrong boolean flag checkSergey Sharybin
This fixes obvious overflows when checking bitflags, who knows how much undiscovered issues exists in the code still..
2015-01-08Better check that preview seq is cleared on exitCampbell Barton
2015-01-08GHash: use reinsert instead of remove/insertCampbell Barton
2015-01-08cleanup: styleCampbell Barton
2015-01-08Fix T40257: Frustum culling not working properlyMitchell Stokes
Instead of getting fancy this time, we'll just use Mahalin's simpler fix. This may have slight performance impacts, but it is a lot simpler than the previous fix and shouldn't cause as many bugs.
2015-01-08Revert "Fix T40257: Frustum culling not working properly"Mitchell Stokes
This reverts commit 315609ec0c1e28eb12bde3e8bbd2a5b03672b1a9. This fix still causes more issues than it solves.
2015-01-08Fix invalid memory access in gradient brushes - could cause a crash inAntony Riakiotakis
MacOS. This looks like an oldie and should not influence release, but if we do make an 'a' build it's safe to include. Report by Craig Jones, thanks!
2015-01-07Quite warning about unused func.Bastien Montagne
(not my day...)
2015-01-07Remove 'ensure previews' call from write code.Bastien Montagne
Sorry about that, should have checked this stuff more, with Internal material renders are very fast (unoticable), but with Cycles it can take (a lot of) time, like several minutes or more. Will probably fall back to a dedicated operator users will have to fire themselves when they want previews in their files.
2015-01-07Recalculate particle pathcache stuff for all particles instead ofLukas Tönne
trying to be smart. This breaks child interpolation otherwise because sometimes parent paths are not calculated and give bad clumping results.
2015-01-07PyAPI: Call to get the pixel x,y in a text blockMartin Felke
This allows scripts to request the screen location of any (line, column) pair.
2015-01-07More tweak to preview commit - do not 'render' non-used IDs either.Bastien Montagne
Thanks to Campbell for the headup.
2015-01-07Ugh, forgot to invert that one in previous commit, sorry for the noise...Bastien Montagne
2015-01-07Ensure mat/tex/etc. previews are generated/saved in .blend files when ↵Bastien Montagne
enabled in userprefs. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D970
2015-01-07Followup to fe3e000: no need to exit pose mode on operator redoSergey Sharybin
This is to be backported to the release branch.
2015-01-07Fix for bool flag useCampbell Barton
2015-01-07cleanup: de-duplicate codeCampbell Barton
2015-01-07Fix: Segfault in Image Editor when transforming GPencil StrokesJoshua Leung