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
2013-03-23A major code update for making the DNA file specification of Freestyle settingsTamito Kajiyama
and RNA for it independent of the build flag for enabling Freestyle. Suggested by Sergey Sharybin through a code review of the branch. * Many #ifdef WITH_FREESTYLE blocks were removed to always have Freestyle-specific DNA file specification and RNA for it built in Blender. This will allow Freestyle setting survive even when a non-Freestyle build is used for loading and saving files. It is noted that operations are still conditionally built through #ifdef WITH_FREESTYLE blocks. * To this end, new blenkernel files BKE_freestyle.h and intern/freestyle.c have been added. All API functions in FRS_freestyle_config.h as well as some of those in FRS_freestyle.h were moved to the new files. Now the relocated API functions have BKE_ prefix instead of FRS_.
2013-03-22Fix for default values different from the factory settings.Tamito Kajiyama
Suggested by IRIE Shinsuke through a code review of the branch.
2013-03-20Removed goto's as suggested first by Bastien Montagne and also by Sergey ↵Tamito Kajiyama
Sharybin through a code review of the branch.
2013-03-20Code clean-up suggested by Sergey Sharybin through a code review of the branch.Tamito Kajiyama
* Removed the checks of NULL pointers after malloc/calloc. * Replaced repeated cast operations with a temporary variable initialized with one cast operation. * Removed an unused switch block (meant to be a place to put per-modifier resource management code).
2013-03-19svn merge ^/trunk/blender -r55372:55392Campbell Barton
2013-03-19svn merge ^/trunk/blender -r55357:55372Campbell Barton
2013-03-19rewind 55389 and make this gcc4.6+ only Campbell Barton
2013-03-19Smoke Bugfix /enhancement: Load pre 2.65 pointcaches.Daniel Genrich
Warning: Just make sure that you DON'T free the cache at any point. This patch can only display existing pointcaches from e.g. 2.64
2013-03-19fix for build error: "#pragma GCC diagnostic not allowed inside functions"Dalai Felinto
It works in a newest gcc (e.g. 4.6.3) but fails here: i686-apple-darwin11-llvm-gcc-4.2 (GCC) 4.2.1 (Based on Apple Inc. build 5658) (LLVM build 2336.11.00)
2013-03-18quiet warning about writing to deprecated member with gcc.Campbell Barton
2013-03-18code cleanupCampbell Barton
2013-03-18Merge of the PyNodes branch (aka "custom nodes") into trunk.Lukas Toenne
PyNodes opens up the node system in Blender to scripters and adds a number of UI-level improvements. === Dynamic node type registration === Node types can now be added at runtime, using the RNA registration mechanism from python. This enables addons such as render engines to create a complete user interface with nodes. Examples of how such nodes can be defined can be found in my personal wiki docs atm [1] and as a script template in release/scripts/templates_py/custom_nodes.py [2]. === Node group improvements === Each node editor now has a tree history of edited node groups, which allows opening and editing nested node groups. The node editor also supports pinning now, so that different spaces can be used to edit different node groups simultaneously. For more ramblings and rationale see (really old) blog post on code.blender.org [3]. The interface of node groups has been overhauled. Sockets of a node group are no longer displayed in columns on either side, but instead special input/output nodes are used to mirror group sockets inside a node tree. This solves the problem of long node lines in groups and allows more adaptable node layout. Internal sockets can be exposed from a group by either connecting to the extension sockets in input/output nodes (shown as empty circle) or by adding sockets from the node property bar in the "Interface" panel. Further details such as the socket name can also be changed there. [1] http://wiki.blender.org/index.php/User:Phonybone/Python_Nodes [2] http://projects.blender.org/scm/viewvc.php/trunk/blender/release/scripts/templates_py/custom_nodes.py?view=markup&root=bf-blender [3] http://code.blender.org/index.php/2012/01/improving-node-group-interface-editing/
2013-03-18style cleanupCampbell Barton
2013-03-18Merged changes in the trunk up to revision 55357.Tamito Kajiyama
Resolved conflicts: release/datafiles/startup.blend source/blender/editors/space_nla/nla_buttons.c Also updated source/blender/blenkernel/intern/linestyle.c as a follow-up of recent changes for the use of bool.
2013-03-17code cleanup: name mesh functions more consistently, also use bools for mesh ↵Campbell Barton
args.
2013-03-17use const pointers for file loading and booleans for animation system return ↵Campbell Barton
values passed as pointers.
2013-03-17Fix "can't paint" bug no.1, painting with black on image editor did notAntony Riakiotakis
paint. Was own regression when optimizing colour operations. I will not use an alpha bit mask since it may run into portability issues with byte order.
2013-03-17code cleanup: incorrect sized array args, remove some redundant code.Campbell Barton
2013-03-17- ghost-sdl builds again.Campbell Barton
- without python builds without warnings. - replace MAXFLOAT -> FLT_MAX in some areas, MAXFLOAT overflows (lager then float range). - add cmake option WITH_GCC_MUDFLAP to enable libmudflap use.
2013-03-16Stop dyntopo updates from happening in masked areasNicholas Bishop
Fixes [#34348] Collapse short edges affects masked geometry /projects.blender.org/tracker/?func=detail&aid=34348&group_id=9&atid=498 Fixed by disallowing topology updates on edges with a vertex masked at 50% or greater. This is a necessarily arbitrary choice; can't do halfway updates for topology like we can with displacement.
2013-03-16code cleanup: shadowingCampbell Barton
2013-03-16object converting curve/mball to a mesh would give invalid selection state ↵Campbell Barton
(edges selected but nothing else). add arg to BKE_mesh_calc_edges() so selecting newly created edges is optional.
2013-03-15Further improvement for multi-threaded proxiesSergey Sharybin
Handle sequences in a special case for dealing with sequence sources. Namely handle separate frames in separate threads, but do disk read from a critical section since HDD is not so friendly with lots threads requesting for data from it. Makes proxy building much faster than it was before.
2013-03-15add in ifdef for WITH_LIBMV, correct own error passing float[2] as float[3]Campbell Barton
2013-03-15Multi-threaded frame calculation for movie clip proxiesSergey Sharybin
This commit implements multi-threaded calculation of frames when building proxies. Both scaling and undistortion steps are now threaded. Frames and proxy resolution are still handled one-by-one, saving files after every single step. So if HDD is not so fast, this commit could have not so much benefit. Internal changes: - Added IMB_scaleImBuf_threaded which scales given image buffer in multiple threads and uses bilinear filtering. - libmv's camera intrinsics now have SetThreads() method which is used to specify how many OpenMP threads to use for buffer distortion/undistortion. And yeah, this code is using OpenMP for threading. - Reshuffled a bit libmv-capi calls and added function BKE_tracking_distortion_set_threads to specify number of threads used by intrinscis.
2013-03-15code cleanup: rename BKE_mesh_to_curve_ex --> BKE_mesh_to_curve_nurblist,Campbell Barton
also correct odd indentation.
2013-03-15Support for rake in 2D image painting.Antony Riakiotakis
2013-03-15Skip doing frame undistortion if it's not needed for proxies.Sergey Sharybin
2013-03-14split up BKE_mesh_to_curve() into 2 functions, adding BKE_mesh_to_curve_ex() ↵Campbell Barton
which doesn't do object type conversion.
2013-03-14converting a mesh to a curve was unnecessarily using tessface's.Campbell Barton
use mpolys instead and simplify checks for wire edges. Also rename BKE_mesh_from_curve() --> BKE_mesh_to_curve() since this function converts a mesh into a curve.
2013-03-14use BLI_strncpy_rlen() rather then BLI_snprintf() when no formatting is needed.Campbell Barton
also replace sprintf with strcpy when no formatting is done.
2013-03-14fix reading out of buffer bounds for recent vertex paint commit.Campbell Barton
2013-03-14style cleanup: odd indentationCampbell Barton
2013-03-14Fix silly mistake that could lead to crash. Also, slight cleanup/renameAntony Riakiotakis
and comments
2013-03-14Two new Features:Antony Riakiotakis
* Support for Rake in projective paint (2D painting will be a separate commit) * Support for smooth stroke across all paint systems
2013-03-14Fix #34526: crash using mask modifier + subsurf + UV map.Brecht Van Lommel
2013-03-13fix for 2 errors where the 2d arrays were used as 3d. (out of bounds read).Campbell Barton
also minor code cleanup.
2013-03-13Fix #34481: camera focal length and sensor size did not use units yet, now ↵Brecht Van Lommel
they do. I've added a separate camera unit type. It's a bit strange to have an exception for this but it ensures units are shown in familiar millimeters and it also ensures backwards compatibility.
2013-03-13Fix write past end of array in recent texture sampling refactoring commit, andBrecht Van Lommel
a small warning for double const keyword.
2013-03-13New implementation of Freestyle edge/face marksTamito Kajiyama
The previous implementation of Freestyle edge/face marks was refactored based on suggestions from the latest code review by Campbell. The new implementation relies on mesh CustomData to store edge/face marks, instead of introducing extra flags in the core Mesh and BMesh data structures. The CustomData-based implementation will allow further additions of new edge/face attributes because of the independence from Mesh/BMesh. This revision is work in progress, mainly intended to address the review comments and ask for further code review in view of the trunk merger in the upcoming 2.67 release.
2013-03-13style cleanup: also remove unused defines in paint_image.cCampbell Barton
2013-03-13Texture sampling function refactoring:Antony Riakiotakis
ALERT! POSSIBLE BREAKING COMMIT, ESPECIALLY FOR SCULPT! Separate the sculpt sampling function so that it can be reused from other paint systems. This includes updating of the relevant coordinates for anchored and rake style brushes, which are now being updated as part of the stroke system. I left only code for area-style brush texture mapping in sculpt code, since it requires a few data structures not present on other paint systems. This commit makes it almost as easy to support rake on other systems as exposing the python UI for it. Also it makes it totally possible to have texture painting capabilities in vertex paint too :) These commits will follow very soon. Also, even if I did my best to keep the code from breaking, (even fixed a leftover bug from coordinate changes) this is a big change. Please test!
2013-03-13style cleanupCampbell Barton
2013-03-12Patch #34204: [Render Animation] Fails with "Error: Specified sample_fmt is ↵Sergey Sharybin
not supported" with ogg vorbis Patch by Jehan Pages (pardon for mis-typing, emacs-nox works not so good with urf-8 buffers here), with some own modifications. Thanks! From the patch tracker: The problem is because of several versions of ffmpeg, but even more because of the fork situation libav/ffmpeg. So there are some installed versions out there where you *must* use a float sample for some codec; whereas oppositely on some other installations, you *must* use the int sample. So for some people, one works not the other, and reciprocally. As a consequence, you can't just have a switch codec-based, like in current code, which decides on the float or int implementation, you must necessarily have a runtime test because you won't know until then if ogg vorbis will use one or another sample (note: that's true also for AC3 as I fixed the exact same bug in DVDStyler for AC3 encoding a few months ago; and I guess it would be same for AAC). Some notes from self: - New FFmpeg requires using FLTP for AAC, AC3 and Vorbis, it's not supported by audaspace and result in this case would be just wrong. Throw an error in cases FLTP is trying to be used. - Moved strict_std_compliance a bit upper. When we'll support FLTP both FLT and FLTP for AAC would need to be using FF_COMPLIANCE_EXPERIMENTAL. - It is nice to have such check of supported by codec formats anyway.
2013-03-12Patch #34569: Enable PNG Codec for video outputSergey Sharybin
By Gottfried Hofmann, thanks!
2013-03-12Temp fix for stupid -Wformat-security issue.Bastien Montagne
Also makes more use of BLI_snprintf, and makes more consistent code acrross all "header strings" generation in transform.c.
2013-03-12replace sprintf -> strcpy where its not needed.Campbell Barton
2013-03-12Fix compilation error after recent changes to strict gcc flagsSergey Sharybin
Dudes, please try building blender with all default features before doing such a commits. It helps just a lot when bisecting issues later. Also solved const qualifier discard happens in recent monofont commit.
2013-03-12Patch [#34373] Use i18n monospace font in Text editor and Python consoleIrie Shinsuke
This patch allows Blender to display i18n monospace font in the text editor and the Python interactive console. Wide characters that occupy multiple columns such as CJK characters can be displayed correctly. Furthermore, wrapping, selection, suggestion, cursor drawing, and syntax highlighting should work. Also fixes a bug [#34543]: In Text Editor false color in comment on cyrillic To estimate how many columns each character occupies, this patch uses wcwidth.c written by Markus Kuhn and distributed under MIT-style license: http://www.cl.cam.ac.uk/~mgk25/ucs/wcwidth.c wcwidth.c is stored in extern/wcwidth and used as a static library. This patch adds new API to blenfont, blenlib and blenkernel: BLF_get_unifont_mono() BLF_free_unifont_mono() BLF_draw_mono() BLI_wcwidth() BLI_wcswidth() BLI_str_utf8_char_width() BLI_str_utf8_char_width_safe() txt_utf8_offset_to_column() txt_utf8_column_to_offset()
2013-03-11code cleanup:Campbell Barton
- move recursive bone/parent check into ED_armature.h - remove unused vars - use const for paint vector args.