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
2017-09-26Cleanup: remove bounds runtime data from sceneCampbell Barton
2017-06-14Fix buffer read error w/ 2 pass select queriesCampbell Barton
Also don't do second pass when the first has no hits.
2017-05-20CMake: Use GCC7's -Wimplicit-fallthrough=5Campbell Barton
Use to avoid accidental missing break statements, use ATTR_FALLTHROUGH to suppress.
2017-05-10Fix T51354: Final take on multi-view (single view) issuesDalai Felinto
We now handle selection and transform manipulators (kudos to Julian Eisel to help hunting down the latter).
2017-04-06Cleanup: function naming for manipulatorCampbell Barton
Rename 'stats_*' to 'protectflag_to_drawflags_*' (was too vague). Also remove NULL check from gimbal_axis
2017-04-06Cleanup: minor changes to transform-manipulatorCampbell Barton
Match stats_editbone & stats_pchan behavior to avoid confusion.
2017-03-08OpenGL Select: integer rect for passing regionCampbell Barton
2017-03-07Once more T50565: Allow using planar constraints for scale manipulatorJulian Eisel
2017-03-02Fix weird "use_planar_constraint" button in redo panelJulian Eisel
Issue was that the VIEW_OT_manipulator operator calls the transform operators and passes them it's own operator properties. That means the transform operator got properties passed that it doesn't have.
2017-03-02Fix another part of T50565: Planar constraints were always initialized to ↵Sergey Sharybin
accurate transform Now it is defined by keymap.
2016-12-16Make Shift+LMB on transform manipulator configurableJulian Eisel
It's now possible to change the shortcut that enables planar transformation with the transform manipulators (shift+LMB on axis). This actually fixes the workaround added in rB20681f49801fd. Thing is that we needed to allow using the manipulators, even if a modifier key is held so things like snapping work right away. That's why normal LMB behavior uses KM_ANY. However, event handling would always execute the KM_ANY keymap handler because it's iterated over first. Simply solved this by registering the KM_SHIFT keymap item first, so it has priority over the KM_ANY one.
2016-08-04Grease Pencil v2 BranchAntonio Vazquez
Improve current Grease Pencil in order to get a better 2D animation tool. More info in WIKI pages: https://wiki.blender.org/index.php/User:Antoniov Reviewed By: Severin, aligorith, campbellbarton Patch by @antoniov, with edits by @Severin. Differential Revision: https://developer.blender.org/D2115
2016-07-08Cleanup: use normalize_v#_lengthCampbell Barton
2016-03-09Fix minor glitch w/ edit-bone centerCampbell Barton
Don't include the same point multiple times when calculating center with connected bones.
2016-02-10Fix manipulator drawing width controlled by gpencil thickness!1!!Julian Eisel
2016-02-09Fix T47367: Segfault in BIF_draw_manipulator() with "around active" and the ↵Joshua Leung
active object hidden Accidentally left off null check when cleaning up the code there in 34993bf97dcbfd29289d14228ac10f1cfa206a15 (GPencil_Editing_Stage3 branch) Thanks to Sami Pelkonen (pltsi) who reported this bug, along with some nice and detailed backtraces which made it easy to locate the problem :)
2016-01-16OpenGL: fixes related to GL_POINTSMike Erwin
I put all usage of GL_POINTS under the microscope. Fixed problems & optimized a couple of spots. - reduce calls to glPointSize by about 50% - draw selected & unselected vertices together for UV editor & EditMesh - draw initial gpencil stroke point the proper size - a few other smaller fixes New policy: each GL_POINTS draw call needs to set its desired point size. This eliminates half our calls to glPointSize (setting it back to its 1.0 default after every draw).
2015-12-23Disable calculating manipulator while transformingCampbell Barton
Gives ~10% speedup
2015-12-13Cleanup: style/warningsCampbell Barton
2015-12-13Grease Pencil: Merge GPencil_Editing_Stage3 branch into masterJoshua Leung
This commit merges all the work done in the GPencil_Editing_Stage3 branch as of ef2aecf2db981b5344e0d14e7f074f1742b0b2f7 into master. For more details about the changes that this brings, see the WIP release notes: http://wiki.blender.org/index.php/Dev:Ref/Release_Notes/2.77/GPencil
2015-12-01Cleanup: use more logical names for View3D.aroundCampbell Barton
D1651 (own patch)
2015-10-28Transform: Replace t->imval w/ t->mouse.imvalCampbell Barton
Initial mouse position was saved in two different places D1588 by @mauge
2015-09-20Cleanup: Use new vector transform functionsJulian Eisel
2015-09-08Fix T46003: Scale w/ script ignores axis-alignCampbell Barton
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