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-02-04View3d: move lock check for orbit into a function and use for dolly tooCampbell Barton
2014-02-04Fix for view lock checks with ndof ops, was incorrectly comparing flagsCampbell Barton
2014-02-04Fix T38469: Strip delimiter handlers don't move strip correctly with ↵Bastien Montagne
keyboard input Issue was in fact in strip update code when transforming, in case we move both left and right handles the strip is handled twice in the loop, but it was always updated at the end of the first loop only...
2014-02-04Fix T38472: allow orbiting locked view when they are already 'user'.Campbell Barton
2014-02-04Code cleanup: declarations for removed functionsCampbell Barton
2014-02-03Fix T38424: modal number input ctrl - did not work, only ctrl numpad -.Brecht Van Lommel
Since there isn't always a numpad available this should work.
2014-02-03Code cleanup: check -1 for error return explicitlyCampbell Barton
2014-02-03Code cleanup: use bools where possibleCampbell Barton
2014-02-03Use bool where appropriateJoshua Leung
2014-02-03Code cleanup: white space and cmake was broken on all platformsCampbell Barton
2014-02-02Fix T38435: Crash when pressing MMB in walk modeBastien Montagne
Snap code may be called with a NULL region, add check about this and assume ray_start is OK in this case!
2014-02-02Code cleanup: suffix vars to make obvious they are squaredCampbell Barton
2014-02-02BMesh: optimize loop_find_regions, reserve array sizeCampbell Barton
2014-02-02Smallhash: add reserve option to avoid resizing when size is knownCampbell Barton
2014-02-01Code cleanup: use length squared where possibleCampbell Barton
2014-02-01Math lib: add axis_angle_normalized_to_quat, use when length is knownCampbell Barton
2014-02-01Fix T38432, Fix 38432: more stupid error in view3d ray code, sorry about that.Bastien Montagne
2014-01-31Code cleanup: be less vague checking invalid index valuesCampbell Barton
2014-01-31Code cleanup: comments and warningsCampbell 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 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-30UI API: don't use a text label when icon_only is setCampbell 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-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-29Fix T38393: bone roll not restored properly after cancelling rotation of bones.Brecht Van Lommel
2014-01-29UI: minor optimization for button lookup, break early when button foundCampbell Barton
also reduce int/float conversion
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-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-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-27Code cleanup: use booleans where appropriateCampbell Barton
2014-01-27Use includes for blenderplayer stubsCampbell Barton
exposes many incorrect and redundant stubs
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 T38354: Excess memory allocation when projecting onto object with multiresBastien Montagne
Found three cases where created bvhtree was not freed...