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-29Scons: refactor cycles kernel code to avoid building the AVX kernel withBrecht Van Lommel
compilers that don't support it. CMake still needs to updated to work the same for consistency, but this should fix the OS X buildbot at least.
2014-01-29Fix T37999: incorrect windows size with Visual Studio 2013 builds.Brecht Van Lommel
This is a known bug in Windows, now work around it. https://bugreports.qt-project.org/browse/QTBUG-36192 http://connect.microsoft.com/VisualStudio/feedback/details/753224/regression-getsystemmetrics-delivers-different-values
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-28Cuda use streams and async to avoid busywaitingMartijn Berger
This is my first stab at this and is based on this IRC converstation: <mib2berlin> brecht: this is meaning as reminder only, I know you have other things to do > http://openvidia.sourceforge.net/index.php/Optimization_Notes#avoiding_busy_waits <brecht> mib2berlin: thanks, bookmarked only tested on Ubuntu 14.04 / cuda 5.0 but ill do some more testing tomorrow. Also unsure about the placement and the lifetime of the stream and the event. But creating / deleting these seems to incur a non trivial cost. Reviewers: brecht Reviewed By: brecht CC: mib2berlin, dingto Differential Revision: https://developer.blender.org/D262
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-28Code cleanup: pep8Campbell 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-28Fix for a typo reported by flokkievids through code review comments D163#1.Tamito Kajiyama
2014-01-28Moved the Operators class from the 'freestyle' module to the ↵Tamito Kajiyama
'freestyle.types' submodule.
2014-01-28Patch set by Folkert Vries (flokkievids) with respect to T37565-patch-v1.zip ↵Tamito Kajiyama
(F32402). Applied with minor modifications.
2014-01-28Fix for a missing submodule in the top-level 'freestyle' module package.Tamito Kajiyama
Reported by flokkievids, thanks!
2014-01-28Updated Freestyle API modules according to the new hierarchical package ↵Tamito Kajiyama
structure. Additional bug fixes were also done along with the code updates: * Fix for the use of old Interface1D.pointsBegin() and .pointsEnd() method names in the definition of pyDensityAnisotropyF1D and pyViewMapGradientNormF1D. * Fix for wrong data types (int instead of bool) for: - pyChainSilhouetteGenericIterator constructor and its .orientation property in modules/freestyle/chainingiterators.py. - SpatialNoiseShader constructor in styles/external_contour_sketchy.py. - ChainSilhouetteIterator constructor in styles/multiple_parameterization.py.
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-28Bundle latest Libmv from upstreamSergey Sharybin
Currently no functional changes, but we might want to have scoped_array in the future.
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-28Improvements to weighted tracks behaviorSergey Sharybin
First thing changed by this commit is making it so Euclidean intersection takes track weight into account when solving minimization problem. This behaves the same exact way as it is for BA step. Second thing is related on how average reprojection error is being calculated. It didn't take track weight into account which could confuse users. Now average reprojection error will give the same result as intersection/BA uses during minimization which gives much more predictable behavior. Differential Revision: https://developer.blender.org/D265
2014-01-28Fixes for keyframe selectionSergey Sharybin
Using tracks with constant zero weight used to crash keyframe selection since it was trying to use missing parameter blocks for Jacobian evaluation, Also fixed possible issues with wrong camera block being marked as variable. This could technically happen when having zero weighted tracks. Made it so all camera blocks are marked as variable for now.
2014-01-28Theme: update ubuntu and blender2.4x tab colorsCampbell 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-28Code cleanup: indentation of interior preprocessorSergey Sharybin
2014-01-28audaspace: use new libavcodec audio encoding API where availableAnton Khirnov
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-28Fix T37673: Ray casting could fail with 0 collision marginsSergej Reich
Use bullet's old method of doing ray casts to stay compatible with old files. It's faster but a bit less accurate.
2014-01-28BGE: remove freestyle from stubs, all functions were out of useCampbell Barton
2014-01-28Identified the freestyle stubs breaking pragma GCC diagnostic error ↵Jens Verwiebe
"-Wmissing-prototypes”, diasabling this case for now
2014-01-28Correct typo in the patch file as wellSergey Sharybin
2014-01-27Fix compilation on Windows, syntax error.Thomas Dinges
2014-01-27OSX/scons: fix own error in last commit and do a cleanupJens Verwiebe
2014-01-27Attempt to fix compilation error with MSVC-2008Sergey Sharybin
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-27OSX/scons: fix gnu gcc compile by using clang assembler ( openMP builds)Jens Verwiebe
2014-01-27Fix player compile in scons and disable -Wmissing-prototypes for Apple atm.Jens Verwiebe