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
2014-01-07Fix for error in own recent commitCampbell Barton
2014-01-07Text3d: underline offset on curved path wasnt working rightCampbell Barton
2014-01-07Text3d: Add support for underline characters with text-on-pathCampbell Barton
2014-01-07Text3d: move text selection boxes from Curve to EditFont structCampbell Barton
resolves T38079
2014-01-05Text3d: font family dupli-objects now follow rotation of the curve pathCampbell Barton
2014-01-05Text3d: minor edits to the API, remove BKE_vfont_to_curve_nubase_exCampbell Barton
2014-01-05Text3d: fix font family feature for unicode and correct tooltipCampbell Barton
2014-01-05Text3d: paste additionsCampbell Barton
- Add paste from system clipboard which behaves like paste from file. - Paste from file now replaces the selection rather then just adding to the end. - Move paste operations into the 'Edit' menu. - Added generic paste functions: font_paste_wchar, font_paste_utf8. - Fix paste max length check not taking the selection length into account.
2014-01-05Code cleanup: fix type in malloc id stringSergey Sharybin
2014-01-05Fix crash when having multiple text objects sharing the same curve datablockSergey Sharybin
Issue was caused by BKE_vfont_to_curve() modifying curve->nurbs list which gave threading issues. Now added BKE_vfont_to_curve_nubase() which operates on a given nurbs list base which is local in do_makeDispListCurveTypes(). By the looks of it it wouldn't give speed regression because previously it also was creating nurbs for every font object sharing the same curve data.
2014-01-05Code cleanup: preprocessor indentation inside #ifdef blockSergey Sharybin
2014-01-05Text3d: selection in editmode now follows rotated text along pathCampbell Barton
2014-01-05Text3d: fix for smallcaps modifying the original text input in editmode.Campbell Barton
Oversight in own recent commit to avoid allocating a new wchar_t array.
2014-01-05Text3d: smallcaps wasnt working properly for text-on-pathCampbell Barton
2014-01-05Text3d: remove sepchar, old feature which no longer has any UI access.Campbell Barton
2014-01-05Text3d: error in own recent fix for thread safetyCampbell Barton
2014-01-05Fix T38024 crash when rebuilding sculpt mode buffers.Antony Riakiotakis
Main issue here is that glBuf* calls were invoked from threads different than main thread. This caused a crash (since those do not have a GL context active). Fix here is twofold: * add an ID buffer in buffer pool that handles pbvh buffers and is freed from main thread when gpu_buffer_pool_free_unused is called. * do not create glbuffers in derivedmesh creation routine, rather tag nodes for update and create those in the draw function (guaranteed to be called from main thread) Reviewed By: brecht Differential Revision: https://developer.blender.org/D169
2014-01-04UI: Use bool rather then int/short's where possibleCampbell Barton
2014-01-04Units: Add milligrams for massSergej Reich
Avoids having small values displayed as "0kg".
2014-01-04Revert "Units: Make grams base unit for mass"Sergej Reich
This reverts commit ead6d397fda12d8287dff7d6a6fff6ea1948cd69.
2014-01-04Rigidbody: Code cleanupSergej Reich
Convert int to bool.
2014-01-04CMake: cleanup and add includeCampbell Barton
2014-01-03Fix T38045: Clone stamp crashesSergey Sharybin
Issue seems to be caused by thread-unsafe IMB_freeImBuf. Now use generic BKE_image_release_ibuf to de-reference image buffer which was acquired from image datablock.
2014-01-03Code clean-up change naming of gpu buffers used by pbvh to betterAntony Riakiotakis
reflect that. Previous name GPU_Buffers was very similar to GPU_Buffer, renamed to GPU_PBVH_Buffers
2014-01-03Text3d: store number of characters and utf8 length separatelyCampbell Barton
EditFont's use of Curve.len was very confusing, in editmode it represented the number of characters, in object mode the number of bytes. add Curve.len_wchar and keep track of both. Also don't convert the editmode text into utf8 on every keystroke. Now this is done on exiting editmode or save - to match most other object types. This also fixes curves 'body_format' being reported with an invalid size.
2014-01-03Text3d: avoid converting utf8 to wchar_t in editmodeCampbell Barton
2014-01-01Code cleanup: line wraps and file names in doxy commentsSergey Sharybin
2014-01-01Fix crash happening in Cycles fcurve modifierSergey Sharybin
Summary: Crash was happening because of fcurve modifier stack used modifier's DNA to store temporary data. Now made it so storage for such a thing is being allocated locally per object update so multiple objects which shares the same animation wouldn't run into threading conflict anymore. This storage might be a part of EvaluationContext, but that'd mean passing this context all over in object_where_is which will clutter API for now without actual benefit for this. Optimization notes: storage is only being allocated if there're Cycles modifier in the stack, so there're no extra allocations happening in all other cases. To make code a bit less cluttered with this storage passing all over the place added extra callbacks to the FModifier storage which runs evaluation with the given storage. Reviewers: brecht, campbellbarton, aligorith CC: plasmasolutions Differential Revision: https://developer.blender.org/D147
2014-01-01Split tracking.c into several filesSergey Sharybin
File tracking.c became rather huge and annoying to maintain and it really contains several independent areas of motrack pipeline. Now we've got: * tracking.c: general-purpose functions which are used by blender, clip editor, RNA and so. * tracking_detect.c: feature detection functions (blender-side, logic is still in libmv). * tracking_plane_tracker.c: blender-side 2D tracking logic. * tracking_plane_tracker.c: plane track tracker. * tracking_solver.c: functions for camera solving. * tracking_stabilize.c: 2D stabilization functions. * tracking_util.c: utility functions for all those files and which shouldn't be public.
2014-01-01Fix deadlock happening when using Save Buffers for renderSergey Sharybin
Summary: Issue was caused by the same tile being written twice to the EXR file. This was happening because of partial update of work-in-progress tiles was merging result to the final render result in order to make color management pipeline happy. We need to avoid such a merges and keep memory usage as low as possible when Save Buffers is enabled. Now render pipeline will allocate special display buffer in render layer which will contain combined pass in the display space. This keeps memory usage as low as we can do at this moment. There's one weak thing which is changing color management settings during rendering would lead to lossy conversion. This is because render result's display buffer uses color space from the time when rendering was invoked. This is actually what was happening in previous release already actually so not a big issue. Reviewers: brecht Reviewed By: brecht Differential Revision: https://developer.blender.org/D162
2013-12-31Units: Make grams base unit for massSergej Reich
2013-12-30Main API: refactor naming, use BKE_main_ prefix and add main arg.Campbell Barton
2013-12-30Code Cleanup: unused defines & styleCampbell Barton
2013-12-29Text3d: add assert's to check the selection and length are validCampbell Barton
2013-12-29Follow up to the previous commit: vfont_get_data is to use the same RW lockSergey Sharybin
2013-12-29Fix T37980: Multiple font objects sharing an external font gives problemsSergey Sharybin
Solved by adding RW lock to BKE_vfont_to_curve. So now all the threads are allowed to read chars from ghash, but they'll be locked as soon as one thread would need to load more chars from font to the ghash.
2013-12-29Fix missing check if isect_plane_plane_v3 fails to find an intersection.Campbell Barton
2013-12-28Cycles Volume Render: support for rendering of homogeneous volume with ↵Brecht Van Lommel
absorption. This is the simplest possible volume rendering case, constant density inside the volume and no scattering or emission. My plan is to tweak, verify and commit more volume rendering effects one by one, doing it all at once makes it difficult to verify correctness and track down bugs. Documentation is here: http://wiki.blender.org/index.php/Doc:2.6/Manual/Render/Cycles/Materials/Volume Currently this hooks into path tracing in 3 ways, which should get us pretty far until we add more advanced light sampling. These 3 hooks are repeated in the path tracing, branched path tracing and transparent shadow code: * Determine active volume shader at start of the path * Change active volume shader on transmission through a surface * Light attenuation over line segments between camera, surfaces and background This is work by "storm", Stuart Broadfoot, Thomas Dinges and myself.
2013-12-28Cycles Volume Render: work on nodes and closures.Brecht Van Lommel
* Henyey-Greenstein scattering closure implementation. * Rename transparent to absorption node and isotropic to scatter node. * Volume density is folded into the closure weights. * OSL support for volume closures and nodes. * This commit has no user visible changes, there is no volume render code yet. This is work by "storm", Stuart Broadfoot, Thomas Dinges and myself.
2013-12-28Fix regression T37971: Crash setting recursive dupli-vertsCampbell Barton
2013-12-28Fix T37939, concern raised in rBd9e0a94: Avoid access to linked nodeLukas Tönne
tree ID data when freeing bNodeTree data blocks, while also making sure localized node group copies get freed properly.
2013-12-28Fix for text3d issue, \n was attempting to find a character tooCampbell Barton
2013-12-28Fix for 3d fonts loading the character of the string terminator.Campbell Barton
also remove redundant call to wcslen and ensure FT_Init_FreeType runs once the font loads.
2013-12-283D Text: use ghash for character lookupsCampbell Barton
2013-12-28Fix for BKE_nurb_handles_autocalc using 2d tests on 3d dataCampbell Barton
2013-12-27Remove TODO. Those args could be useful in the future.Sergey Sharybin
2013-12-27Typo fix in a commentSergey Sharybin
2013-12-27Code Cleanup: styleCampbell Barton
2013-12-27Rigidbody: Code cleanupSergej Reich
Make some functions private. Remove unneeded nested if statements. Avoid mixing short and bool.
2013-12-27Fix T37955: Freestyle render misalignmentSergey Sharybin
Issue was caused by missing objects update for temporary freestyle objects. This happened because of the fact that such objects doesn't have any relations, as in they're corresponding to root nodes in the DAG. This situation wasn't handled by DAG_threaded_update_begin() which considered there's only one root node in the DAG.