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-29Option to lock the interface while renderingSergey Sharybin
Added function called WM_set_locked_interface which does two things: - Prevents event queue from being handled, so no operators (see below) or values are even possible to run or change. This prevents any kind of "destructive" action performed from user while rendering. - Locks interface refresh for regions which does have lock set to truth in their template. Currently it's just a 3D viewport, but in the future more regions could be considered unsafe, or we could want to lock different parts of interface when doing different jobs. This is needed because 3D viewport could be using or changing the same data as renderer currently uses, leading to threading conflict. Notifiers are still allowed to handle, so render progress is seen on the screen, but would need to doublecheck on this, in terms some notifiers could be changing the data. For now interface locking happens for render job only in case "Lock Interface" checkbox is enabled. Other tools like backing would also benefit of this option. It is possible to mark operator as safe to be used in locked interface mode by adding OPTYPE_ALLOW_LOCKED bit to operator template flags. This bit is completely handled by wm_evem_system, not with operator run routines, so it's still possible to run operators from drivers and handlers. Currently allowed image editor navigation and zooming. Reviewers: brecht, campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D142
2014-01-29UI: Refactor timecode functions into BLI_timecodeCampbell Barton
- deduplicate timecode_simple_string from image.c - replace V2D_UNIT_SECONDSSEQ with V2D_UNIT_SECONDS - avoid possible buffer overflow bugs (sprintf -> BLI_snprintf) - remove option not to use timecode and split into 2 functions Patch D227 by Andrew Buttery with own refactoring.
2014-01-29RNA: add rna_space_api.c for space functionsCampbell Barton
2014-01-28File Reading: add revert operatorCampbell Barton
Patch D247 by Evans Jahja with edits
2014-01-28File Reading: add wrapper function for WM_file_readCampbell Barton
also return cancelled when an operator fails to load a file
2014-01-28Bevel: fix glitch in "pipe" case with square profile.Howard Trickey
The "pipe" case -- where two beveled edges are in line and there is at least one more beveled edge -- needed better handling when profile parameter = 1.0 (square outward).
2014-01-28Fix T38383: glitch drawing inactive sliderCampbell Barton
2014-01-28Viewport Drawing: apply matcaps to all objectsCampbell Barton
2014-01-28Code cleanup: remove check for painting non-mesh objects (its impossible)Campbell Barton
2014-01-28Fix unused variable in the right waySergey Sharybin
It IS to be used :)
2014-01-28Code cleanup: unused varCampbell Barton
2014-01-28Fix T38367: operators activated from popups didnt reuse settingsCampbell Barton
2014-01-28Fix T38381, Fix T38184: key events getting lost when modal operator is running.Brecht Van Lommel
There is a hack for modal keymaps and double click events, which was (ab)using the wmEvent.prevval variable to temporarily assign it KM_DBL_CLICK indicating that the double click event was disabled. However the value of prevval can actually be KM_DBL_CLICK in other circumstances too, which caused a key press event to get converted to a double click event.
2014-01-28Reorganized the Freestyle Python API in a hierarchical package structure.Tamito Kajiyama
Both C- and Python-coded API components were rearranged into logical groups. New Python modules are packaged as follows: freestyle - Top-level package freestyle.types - Classes for core data structues (e.g., view map) freestyle.chainingiterators - Pre-defined chaining iterators freestyle.functions - Pre-defined 0D and 1D functions freestyle.predicates - Pre-defined 0D and 1D predicates freestyle.shaders - Pre-defined stroke shaders freestyle.utils - Utility functions The Python modules are installed in scripts/freestyle/modules. Pre-defined styles are installed in scripts/freestyle/styles. To-do: update styles according to the new Freestyle API package structure.
2014-01-28Bevel code cleanup: get rid of old 'ADJ' code.Howard Trickey
The new subdiv 'adj' pattern is working well, so removing the old code and taking opportunity to remove 'subdiv' from a number of names.
2014-01-28Followup to the previous commitSergey Sharybin
Need to take weight into account when drawing per-frame track reprojection curve and when computing per-track average error.
2014-01-28Code cleanup: remove references to svn and code styleCampbell Barton
2014-01-28Rework detector API and implement Harris detectorSergey Sharybin
Switch the detector API to a single function which accepts a float image and detector options. This makes usage of feature detection more unified across different algorithms. Options structure is pretty much straightforward and contains detector to be used and all the detector-specific settings. Also implemented Harris feature detection algorithm which is not as fast as FAST one but is expected to detect more robust feature points. It is also likely that less features are detected, but better quality than quantity. Blender will now use Harris detector by default, later we'll remove FAST detector.
2014-01-28Compilation fix for SConsSergey Sharybin
Was broken by recent FFmpeg changes.
2014-01-28Code cleanup: more preprocessor indentationSergey Sharybin
2014-01-28libavformat API usage: use avformat_close_input() instead of ↵Anton Khirnov
av_close_input_file()
2014-01-28libavformat API usage: use avg_frame_rate instead of r_frame_rateAnton Khirnov
r_frame_rate is a guessed number defined as "the least common multiple of all framerates in the stream". It has been deprecated and removed in new Libav releases. Use avg_frame_rate instead, which is the average framerate of the stream.
2014-01-28libavcodec API usage: use new video encoding APIAnton Khirnov
avcodec_encode_video() has been replaced with avcodec_encode_video2() in new libavcodec versions.
2014-01-28Change libavcodec CODEC_ID_* to AV_CODEC_ID_*Anton Khirnov
CODEC_ID_* have been replaced with AV_CODEC_ID_* in new libavcodec versions. Update the code to use those new identifiers. Added a compatibility code to ffmpeg_compat.h
2014-01-27Revert the removal of Blender Internal Edge rendering, after artist feedback.Thomas Dinges
This reverts commit fb91a602c756f3ee5a122efa1862b8be7604186b.
2014-01-27OSX/scons: consequently make use of the recently introduced C_COMPILER_ID ↵Jens Verwiebe
and CCVERSION env vars
2014-01-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-27Use includes for blenderplayer stubsCampbell Barton
exposes many incorrect and redundant stubs
2014-01-27Fix incorrect externCampbell Barton
2014-01-27Fix T38355: Crash with Shader Node Group with missing datablock,Lukas Tönne
only in "Material" viewport shading.
2014-01-27Implement clipboard for mask splinesSergey Sharybin
So now it's possible to copy-paste splines between layers. Implementation is pretty much straightforward and duplicates some logic which we've got in sequencer/tracking clipboards. Will work on a common routine for clipboards later, for now it's not so much crucial to have.
2014-01-27Code Cleanup: de-duplicate nested node tree checkingCampbell Barton
2014-01-27UI: Fix for icon-only menus too small click-able areaCampbell Barton
2014-01-27UI: Replace +/- menus with collapsible onesCampbell Barton
Patch D160, by Scott Petrovic with own modifications.
2014-01-27Curves: save active point to fileKevin Mackay
Changed curve active point from pointer to index. Allows curve active point to be saved to file and retained between modes for free. Also some small optimisations by removing pointer look up code. - Made active point access functions into BKE API calls. - Fixes operators where curve de-selection resulted in unsel-active point. - Split curve delete into 2 functions
2014-01-26Fix typo in nla blend modes.Sv. Lockal
2014-01-26Fix T38354: Excess memory allocation when projecting onto object with multiresBastien Montagne
Found three cases where created bvhtree was not freed...
2014-01-26Fix T38366: export collada crash - if you set a keyframeBastien Montagne
Don't assume all objects have a valid animdata...
2014-01-26Cleanup of BLI_smallhashBastien Montagne
Factorized a bit the code here, think it's more readable now... No performance enhancement though. Reviewed by: campbellbarton Differential Revision: https://developer.blender.org/D259
2014-01-26Code Cleanup: style and correct API class refCampbell Barton
2014-01-25Fix T38353: some EXR files from other applications not loading correctly.Brecht Van Lommel
* EXR layers with names like 'Z' without any pass name were not loaded at all and would break the Combined pass as well. * EXR pass names longer than 16 characters where writing past the end of the array and getting invalid names.
2014-01-25Fix T38356: Crash when UIList.filter_items returns too few items.Bastien Montagne
2014-01-24Change tooltip text for Vertex Group in Bevel Modifier.Howard Trickey
Reflects previous commit that now allows this group to control edge bevels too.
2014-01-24Bevel modifier can use vertex groups for edge bevel now.Howard Trickey
Until now, the "vertex group" limit method in the modifier only worked for "vertex only" bevels. With this change, edges with both ends in a vertex group will be beveled in the non-"vertex only" case. Also changed the test for being in a vertex group from "any nonzero weight" to "weight >= 0.5". This is because cascaded bevels on disjoint vertex groups did not give disjoint bevels, because weight interpolation would give non-zero weights to newly created vertices in earlier bevels. Chose 0.5 because that won't result from interpolation, but still allows some dilution (e.g., cascaded bevels on the same vertex group).
2014-01-24Add convinient access to full bitangent for loops (some export formats like ↵Bastien Montagne
FBX expect full bitangents, better to compute them in C than in python...)
2014-01-24Fix T38347: adding object visibility keyframes in the outliner groups andBrecht Van Lommel
libraries view not working. This was disabled in the operator, there may have been a reason for this at some point, but I can't see any reason to disallow it in the current code or find a good reason why it was done in the commit logs.
2014-01-24Make multisegment bevel profiles even for all parameters.Howard Trickey
The method for calculating points on the profile for non-circles and non-lines meant that the segments making up an edge had uneven widths. Use a numeric search technique to find superellipse evaluation points that lead to equal-sized chords across the profile. Also calculate the actual profile points sooner, so that they don't have to be recalculated again and again. This also sets up for a possible later feature of arbitrary profile shapes, set by user.
2014-01-24Fix currently harmless issue with converting ImBuf from sequencer spaceSergey Sharybin
2014-01-23Fix T38150: implementation mismatch in bmesh pythonBastien Montagne
Hopefully this time all mismatches are fixed (quickly checked the whole BMesh API files, found a few others in addition to those reported in T38150).
2014-01-23Make Tab Divider interopolate between the region background and tab outline.Jonathan Williamson
Previously the divider was using the region background and the region text, leading to bad outlines with custom themes. This makes the outline behave more expectedly and allows better control.