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-31Fix compilation error with msvc2012 and 2013 as wellSergey Sharybin
2014-01-31Fix for T32843gaiaclary
Exported angles for spot size animation is in radians , however Collada expects it to be in degrees. This patch is for fixing import and export, and also renaming a variable Reviewers: gaiaclary Reviewed By: gaiaclary Differential Revision: https://developer.blender.org/D273
2014-01-31Events: fix for wmEvent prevx, prevy not updatingCampbell Barton
2014-01-30More snapping fixes (this is ridiculous).Bastien Montagne
I hope this time we are done!
2014-01-30Code cleanup: remove BLI_has_parentCampbell Barton
2014-01-30Code cleanup: add BLI_testextensie_n, replacing multuple calls to ↵Campbell Barton
BLI_testextensie also use attributes for BLI path functions
2014-01-30Fix T38409: Snapping BugBastien Montagne
Issue partially caused by own errors (glicth in new BKE_boundbox_ray_hit_check() code causing segfault in volume snapping, and we have to treat ortho and persp differently in case of face snapping, because in persp our ray_start might very well already be *inside* the boundbox of the checked object), and partly due to the fact that ED_view3d_win_to_vector() was returning wrong vector (negated one) for ortho views (see previous commit).
2014-01-30Fix a nice bug in ED_view3d_win_to_vector() - vector returned for an ortho ↵Bastien Montagne
view was negated compared to vector returned for the same view in perspective... Found while working on snapping issues, confirmed using bisect tool: previous to this commit, inner/outer parts were swapped when switching from otho to persp!
2014-01-30Fix for crash linking node groups through bpy.data.libraryCampbell Barton
Defer creating the Python objects until after appending is finished because NodeTree's types are not initialized until then.
2014-01-30Fix T38403: Laplacian smooth on instanced objects leads to crash.Lukas Tönne
The laplacian modifiers (smooth and deform) use the OpenNL library, which is not threadsafe due to the use of a global context variable. Ideally this would be changed so that an explicit context can be created for every caller of the OpenNL functions, but since OpenNL's most recent version is from 2010 this is unlikely to happen. As a workaround for now just use a mutex to prevent conflicting OpenNL calls. Eventually OpenNL can be replaced by eigen or ceres.
2014-01-30Fix T38358: typo in own rB77089a3bf203.Bastien Montagne
Also allowed me to fine another potential issue, hit.dist was no more initialized correctly - and I had forgotten to take into account Brecht's remark about normalize_v3() also returning the vector's previous length.
2014-01-30Smallhash: refactor and fixesCampbell Barton
- BLI_smallhash_remove didnt decrement total entries. - rename vars to match closer to ghash. - smallhash_lookup returns NULL when no entry found. - using a zero value key wasn't supported. - no need to memset or calloc bucket arrays - add asserts for unsupported conditions. - added BLI_smallhash_lookup_p
2014-01-30PyAPI: noise.seed_set(), note that zero is a special case.Campbell Barton
2014-01-30Fix T38402: invalid message for bad type assignments (Quat, Vector)Campbell Barton
2014-01-30Code cleanup: remove (now) redundant empty text with icon_onlyCampbell Barton
2014-01-30UI: move toggle icons out of layout checks into rnaCampbell Barton
2014-01-30UI API: don't use a text label when icon_only is setCampbell Barton
2014-01-30Warnings: quiet unused define messageCampbell Barton
2014-01-29Fix T38400: crash in image_listener accessing deleted object.Brecht Van Lommel
Listeners should never dereference this pointer because the object may have been deleted, it can only be used for comparisons.
2014-01-29Fix T38358: Face snapping fails on Orthographic viewBastien Montagne
Issue is caused by start point of ray used to detect faces under the mouse is set rather far away in ortho 3dviews. The loss of precision on the ray location induced by this can lead to face snapping failures. Solution is to do the raycasting with a temp start point, much closer to the object we check, and add back to the found distance the diff to the real start point once detection is done (as we need all hit distances from all tested objects to be relative to a common point!). Note this commit only addresses the "face snapping on mesh" case, other kind of snapping do not seem to suffer from this issue. Reviewers: brecht, campbellbarton Differential Revision: https://developer.blender.org/D268
2014-01-29Fix T37661: color ramps and curve mapping editing not disabled for linked data.Brecht Van Lommel
2014-01-29Code cleanup: remove redundant makesrna call with platform "linuxcross".Lawrence D'Oliveiro
Reviewed By: brecht Differential Revision: https://developer.blender.org/D235
2014-01-29Fix accidental description change in recent commit.Brecht Van Lommel
2014-01-29Fix bone transform issue where the bone roll depends on intermediate mouse ↵Brecht Van Lommel
positions. It computed the roll compatible with the previous mouse position roll value, now it uses the initial roll value.
2014-01-29Update Edit Mode tabs for mesh objectsJonathan Williamson
This greatly improves the mesh edit tabs after a few weeks of feedback, making the tabs more practical with less need to switch tabs often. Based on discussion on IRC and T37568. Reviewers: campbellbarton CC: campbellbarton, brecht Reviewers: campbellbarton Reviewed By: campbellbarton CC: campbellbarton, brecht Differential Revision: https://developer.blender.org/D269
2014-01-29Fix T38359: incorrect display of material slot with pinned particle settings.Brecht Van Lommel
Just hide it in this case, the material slot is not really valid without an object in the context.
2014-01-29Fix T36955: API docs referred to sys.maxint which does not exist in Python 3.Brecht Van Lommel
2014-01-29Fix T37038: user preferences > input category names unnecessarily cut off.Brecht Van Lommel
2014-01-29Fix T38393: bone roll not restored properly after cancelling rotation of bones.Brecht Van Lommel
2014-01-29renamed unclear API parametergaiaclary
2014-01-29Fix T38388: Creating a new scene with full copy sets rigidbody collision ↵Sergej Reich
shapes to box. Tweak world rebuilding logic, so it's not done before object data was updated.
2014-01-29Fix sconscript syntax error when using python 2.x instead of 3.x.Brecht Van Lommel
2014-01-29Scons: Some tweaks for f70d9660474c, we don't need SSE41 kernel for 32bit, ↵Thomas Dinges
nor vc2008 x64.
2014-01-29UI: Make "Lock Interface" a icon only button and pack into the Display row, ↵Thomas Dinges
we don't need a dedicated row for this option, also it looked quite bad for Cycles.
2014-01-29UI: minor optimization for button lookup, break early when button foundCampbell Barton
also reduce int/float conversion
2014-01-29Move depsgraph debug print under --debug-depsgraph command line argumentSergey Sharybin
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