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
2015-06-04Cleanup: clarify order of precedence: &/?Campbell Barton
2015-05-15Fix some issues found by Coverity ScanJulian Eisel
Some of them are just brain dead code, some are potential bugs.
2015-04-21Fix T44474: Rotation manipulator not hidden completely with all axesJulian Eisel
locked Really doesn't look like a bug on a first glance but the line of code that was there previously seemed to be there to prevent the manipulator from drawing in this case.
2015-02-24Cleanup leftover code from previous commitAntony Riakiotakis
2015-02-24Fix T43785 crash with border select.Antony Riakiotakis
Naming here is slightly misleading. We have: * Number of elements (objects) that can be picked * Buffer size * Number of integers in buffer. Interestingly enough, bufsize in OpenGL (as far as I could find in examples on the web) and in most of the code refers to the latter and actual buffer size is only used whenever we do allocations on the heap. Added an extra defines here to make things a bit clearer: * MAXPICKELEMS refers to the number of objects that can be picked * MAXPICKBUF refers to the number of integers in the selection buffer Also made all buffers use MAXPICKBUF where some used MAXPICKBUF * 4. That means that some parts of blender will use less space for selection now. MAXPICKBUF is set to 10000 for 2500 object selection, which can be changed at any time, but I think 10000 integers on the stack touches the borders of uglyland anyway.
2015-02-17BMesh: calc_manipulator_stats can only check vertsCampbell Barton
Code assumed selection wasn't correctly flushed, which we ensure now.
2015-01-31Compiler warning: double-promotionCampbell Barton
2014-11-16Cleanup: Replace `WM_operator_name_call` by `WM_operator_name_call_ptr` ↵Bastien Montagne
where possible. This avoids one lookup in optypes list...
2014-10-02Code cleanup:Antony Riakiotakis
calc_manipulator_stats is only used in manipulator (and soon will only use the context for such queries)
2014-09-10Fix T41112: Rotate manipulator (Trackball) + release confirm not working?Anthony Edlin
Usual same issue (unset property != set property to default value). Review and minor edits by mont29 (Bastien Montagne).
2014-07-23Occlusion Query based selection.Antony Riakiotakis
This patch creates an interface for selection mechanisms in opengl. This makes it possible to switch between occlusion query based or select rendermode based selection transparently. This is really useful on graphics drivers that do not accelerate the select rendermode path (some ATI cards are notorious for this, and the new path is used by default there), since occlusion queries are always hardware accelerated due to their use in games. The option can be found under system - selection. Auto just enables occlusion queries for ATI users while the rest of the options enforce one of the two methods always. There is just one known change, previous code enforced nearest bone to always get selected, even when mouse selecting near the same position, I couldn't replicate the behaviour though. patch by me with edits and review by Campbell. Thanks!
2014-05-09Metaball transform, support active-only optionCampbell Barton
2014-05-01Code cleanup: remove file handling headers where they arent neededCampbell Barton
2014-04-30Code cleanup: remove unused includesCampbell Barton
Opted to keep includes if they are used indirectly (even if removing is possible).
2014-04-29Code cleanup: remove redundant matrix initializationCampbell Barton
2014-04-27Code cleanup: const args and arraysCampbell Barton
2014-04-25Spelling error fixesJoshua Leung
2014-04-22View3d: api naming, for setting the view matrix.Campbell Barton
2014-04-17Code cleanup: use boolsCampbell Barton
also rename BLI_omp_thread_count -> BLI_system_thread_count_omp
2014-04-11Code cleanup: use boolCampbell Barton
2014-04-01Code cleanup: remove TRUE/FALSE & WITH_BOOL_COMPAT defineCampbell Barton
2014-03-12Transform: internal change, simplify view angle checksCampbell Barton
2014-02-20Transform: skip setting colors when picking with the manipulatorCampbell Barton
2014-02-01Math lib: add axis_angle_normalized_to_quat, use when length is knownCampbell Barton
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-16Code Cleanup: avoid using G_PICKSEL for transform manipulatorCampbell Barton
2014-01-16User Prefs: Manipulator unit and tooltip fixesAndrew Buttery
removal of x5 hardcoded size multiplier
2013-11-25Transform: old todo, removing an orientation now checks all screens.Campbell Barton
also fix for using uninitialized matrix when an out-of-range index is set for custom orientations.
2013-10-26rename give_cursor to ED_view3d_cursor3d_getCampbell Barton
2013-10-04fix [#36942] unfreed memory on trackball widget useCampbell Barton
2013-10-01check SELECT flags for curves (was checking for nonzero which would break if ↵Campbell Barton
new files use this field for other flags)
2013-10-01addition to r60465, check for individual centers when positioning the ↵Campbell Barton
manipulator
2013-07-21code cleanup: add break statements in switch ()'s, (even at the last case).Campbell Barton
2013-07-13fix for bad NULL check in bmo_connect_pair, also remove duplicate checks in ↵Campbell Barton
if statements and redundant initialization vars.
2013-07-12Fix #35827: object selection through camera view not working in some cases.Brecht Van Lommel
The problem was that when the camera is selected, the transform manipulator is located exactly at the camera view location, and this was blocking selection of other objects with some OpenGL implementations.
2013-06-25style cleanupCampbell Barton
2013-06-25Fix #35767: transforming nodes in the node editor changed the wireframe colorBrecht Van Lommel
of the active object in the 3D view. This was due to sharing a global G.moving flag to indicate that transform is active, now it's only set per transform data type so different editors don't influence each other.
2013-06-10patch [#35631] Active element for LatticeCampbell Barton
by Kevin Mackay (yakca) Was one of our TODO's from the wiki.
2013-05-26BLI_math rename functions:Campbell Barton
- mult_m4_m4m4 -> mul_m4_m4m4 - mult_m3_m3m4 -> mul_m3_m3m4 these temporary names were used to avoid problems when argument order was switched.
2013-04-16code cleanup: use BKE naming conventions for functions in BKE_editmesh.h and ↵Campbell Barton
BKE_editmesh_bvh.h
2013-04-14code cleanup: rename BKE_tessmesh -> BKE_editmesh, rename ↵Campbell Barton
EditDerivedBMesh.tc -> em. ('tc' is odd name which isn't used elsewhere).
2013-04-04improved method of getting the tangent axis from a bmesh triangle,Campbell Barton
rather then getting the longest edge, get the edge which which is most different from the 2 others ends up giving more useful results: for an isosceles triangle it returns the base weather its longer or shorter then the other sides.
2013-04-04code cleanup: use bools, (float)sin/(float)cos -> sinf/cosf, more meaningful ↵Campbell Barton
var names.
2013-03-29remove unused GLUquadricObj in draw_manipulator_rotate()Campbell Barton
2013-03-13Fix [#34621] I18n Switch Issue When Gimbal and Rotation Manipulator On.Bastien Montagne
Real issue was that transform manipulators' code was calling TRANSFORM_OT_trackball with data (PointerRNA) from VIEW3D_OT_manipulator. That op has constraints props, while trackball has not. This created some kind of "ghost" properties, that showed up in redo panel. Why this only segfaults in BLF_pgettext in 32bit builds remains a deep mystery (currently dusting out my 32 vbox to try to understand it...). BLF_pgettext is supposed to be pretty secure. :/
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-03-09code cleanup: favor braces when blocks have mixed brace use.Campbell Barton
2013-02-28fix [#34426] Manipulator handles drawn incorrectly by depthCampbell Barton
original patch by Philipp Oeser (lichtwerk) with own changes.
2013-01-12code cleanup: style and replace (float)sin, (float)cos with sinf, cosfCampbell Barton
2012-12-18fix for own error in recent commit with active pose mode, depended on an ↵Campbell Barton
uninitialized flag.