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
2016-07-12OpenJPEG: update to 2.1 from 1.5Campbell Barton
Stream handling has changed so this required changes to how files & memory are accessed.
2016-07-12Fix saving jpeg2k images from PythonCampbell Barton
Quality was defaulting to lowest and no codec was set.
2016-07-12Cleanup: remove redundant checkCampbell Barton
2016-07-12Fix T48830: Outliner draw crash, missing NULL checkCampbell Barton
Fix from @cheleb
2016-07-12writefile: reuse SDNA between writesCampbell Barton
Avoids decoding the SDNA string every undo step.
2016-07-12readfile: report SDNA decoding errors on file readCampbell Barton
This was printed to the stdout, however the error case wasn't checked or well supported. Also, errors decoding SDNA would sometimes call exit(1).
2016-07-12writefile: remove SDNA last-hit, optimize DNA reconstructCampbell Barton
- Move last-hit index out of SDNA struct (allows for access by multiple threads). - Replace O(n^2) search with hash lookup in DNA reconstruction.
2016-07-11Remove usercount handling from BKE_id_expand_local.Bastien Montagne
Idea looked good, but we have too much custom situations here (some half-fake-sub-ID being copied with their 'owner', animdata, etc.), let's let datablock copy functions handle that themselves. Also allows to safely call BKE_id_expand_local from all copy functions now (only when copying linked data).
2016-07-11Cleanup: remove call to BKE_id_lib_local_paths() in make_local functions.Bastien Montagne
This one is already called by matching copy functions, no need to call it twice!
2016-07-11Use new generic BKE_id_expand_local() for make_local() for object.Bastien Montagne
2016-07-11Use new generic BKE_id_expand_local() for make_local() for ↵Bastien Montagne
image/material/texture/world. As said in previous commits, did not touch to copy functions for now, due to ntree issues...
2016-07-11Revert 'use new BKE_id_expand_local()' change for Lamp's copy function.Bastien Montagne
ntree is once more time a PITA - actually, all sub-IDs that get copied together with the 'main' one are (shapekey was workedaround, as was animdata/action issue, but nodes are more touchy). For now, better not to touch that, needs careful check & rethink.
2016-07-11Use new generic BKE_id_expand_local() for make_local() for nodetree.Bastien Montagne
Did not changed ntree copy for now, this func is a mess of expand/non-expand/bmain/non-bmain cases... Keep it for later!
2016-07-11Use new generic BKE_id_expand_local() for both make_local() and copy() ↵Bastien Montagne
functions of actions, brushes and particles. This greatly simplifies said code, once again no change expected from user PoV.
2016-07-11Use new generic BKE_id_expand_local() for both make_local() and copy() ↵Bastien Montagne
functions of obdata (armature, mesh, curve, mball, lattice, lamp, camera, and speaker). This greatly simplifies said code, once again no change expected from user PoV.
2016-07-11Add an exception/hack to new BKE_id_expand_local(), to ignore actions ↵Bastien Montagne
datablock in its usercount handling. Reason is, typically those actions datablock usercounts have already been adjusted in BKE_animdata_copy() (called by generic iddata copy function). Think this needs to be reworked a bit too, there are way too much ways to copy animdata currently, it's rather confusing. But not the goal here, so for now we'll live with the hack!
2016-07-11Fix (unreported) memory leak when making local linked databock which has a ↵Bastien Montagne
preview image. Also cleaned-up/synchronized code across al ID types that support preview.
2016-07-11Add generic 'BKE_id_expand_local' to BKE_library,Bastien Montagne
will be used by both make_local() and copy() datablock functions. Note that this new func make 'extern' all IDs used by localized datablock, not only refcounted ones as it used to be in each type's functions (with a few exceptions).
2016-07-11Cycles: Fix compilation error on Windows with OSL enabledSergey Sharybin
Seems there's some conflict around `near` identifier in that configuration.
2016-07-11Cycles: Fix typoSergey Sharybin
2016-07-11Fix T48824: Crash when having too many ray-to-volume intersectionsSergey Sharybin
Code might have writing past the array boundaries.
2016-07-11Fix T48812: Brush size invalid with HIDPICampbell Barton
Missed from c5b2f12b
2016-07-11Depsgraph: Fix crash in Weight VG modifierSergey Sharybin
2016-07-11Depsgraph: Fix shape key nodes trying to be added multiple timesSergey Sharybin
2016-07-11Cleanup: line lengthCampbell Barton
2016-07-11Cycles: Fix Extend image extension mode on OpenCLSergey Sharybin
2016-07-11Cycles: Use utility define for restrict pointersSergey Sharybin
This way restrict can be used for CUDA and OpenCL as well. From quick tests in areas i've been testing this it might give some barely measurable %% of speedup, but it increases registers pressure. So use of this qualifier is still really limited.
2016-07-11Cycles: Cleanup, variables nameSergey Sharybin
Using camel case for variables is something what didn't came from our original code, but rather from third party libraries. Let's avoid those as much as possible.
2016-07-11Cycles: Add _all suffix to shadow traversal fileSergey Sharybin
Matches better naming of volume traversal files, where we've got optimized versions of a single step of volume intersection and traversal which will gather all volume intersections.
2016-07-11Cycles: Move BVK kernel files to own directorySergey Sharybin
BVH traversal is not really that much a geometry and we've got quite some traversals now. Makes sense to keep them separate in the name of source structure clarity.
2016-07-11Dyntopo: fix lop-sided edge collapseCampbell Barton
When an edge was collapsed, one of the vertices would be removed. Edges attached to the deleted vertex wouldn't be considered for collapsing again, making the outcome from collapsing edges depend on the edge-vertex order. Use a hash to lookup the final vertex when collapsing edges, instead of skipping them.
2016-07-11Fix sculpting high poly meshesCampbell Barton
Attempted to free unallocated memory, interestingly nobody noticed this for ~7 years (error from 3078c806).
2016-07-11Dyntopo: possible modified option was incorrectly setCampbell Barton
2016-07-11Dyntopo: remove redundant existing face checkCampbell Barton
Gives minor speedup
2016-07-11BLI_math: move interp_*_cubic to its own functionCampbell Barton
2016-07-11CMake: suppressing indentation warning for externCampbell Barton
2016-07-10Fix T48822: Crash when I try to use "Join" (Ctrl Key + J) with two meshes.Bastien Montagne
Own stupid typo in recent refactor work...
2016-07-10Refactor/enhance BKE_action_make_local().Bastien Montagne
Now using modern features from libquery/libremap areas. Provides same kind of fixes/improvements as for BKE_object_make_local() (see rBd1a4ae3f395a6).
2016-07-10Refactor/enhance ntreeMakeLocal().Bastien Montagne
Now using modern features from libquery/libremap areas. Provides same kind of fixes/improvements as for BKE_object_make_local() (see rBd1a4ae3f395a6).
2016-07-10Refactor/enhance BKE_image_make_local().Bastien Montagne
Now using modern features from libquery/libremap areas. Provides same kind of fixes/improvements as for BKE_object_make_local() (see rBd1a4ae3f395a6).
2016-07-10Refactor/enhance BKE_material_make_local() and BKE_image_make_local().Bastien Montagne
Now using modern features from libquery/libremap areas. Provides same kind of fixes/improvements as for BKE_object_make_local() (see rBd1a4ae3f395a6).
2016-07-10Refactor/enhance BKE_lamp_make_local() and BKE_camera_make_local().Bastien Montagne
Now using modern features from libquery/libremap areas. Provides same kind of fixes/improvements as for BKE_object_make_local() (see rBd1a4ae3f395a6).
2016-07-10Refactor/enhance BKE_brush_make_local() and BKE_speaker_make_local().Bastien Montagne
Now using modern features from libquery/libremap areas. Provides same kind of fixes/improvements as for BKE_object_make_local() (see rBd1a4ae3f395a6).
2016-07-10Refactor/enhance BKE_particlesettings_make_local().Bastien Montagne
Now using modern features from libquery/libremap areas. Provides same kind of fixes/improvements as for BKE_object_make_local() (see rBd1a4ae3f395a6).
2016-07-10Cycles: Fix failed assert with isotropic Ashikhmin-Shirley distribution in ↵Lukas Stockner
the Glossy node The shader sync code used the anisotropic version of the Ashikhmin-Shirley closure for both Anisotropic and Glossy BSDF, which caused a failed assert because the anisotropic closure expects an addiitonal SVM node.
2016-07-11Add missing bracesCampbell Barton
2016-07-10Fix T48815: Translate node's 'Relative' checkbox has the same tooltip as ↵Philipp Oeser
blur node's 'Relative' checkbox. Differential Revision: https://developer.blender.org/D2099
2016-07-10Cleanup/Refactor: pass Main pointer to all ID copy functions.Bastien Montagne
Also allows us to get rid of a few _copy_ex() versions...
2016-07-09Add BKE_key_copy_ex() that takes a Main as parameter.Bastien Montagne
2016-07-09Refactor/enhance BKE_lattice_make_local(), and add BKE_lattice_copy_ex() ↵Bastien Montagne
that takes a Main as parameter. Now using modern features from libquery/libremap areas. Provides same kind of fixes/improvements as for BKE_object_make_local() (see rBd1a4ae3f395a6).