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-02-08Initial vertex slide UV-correct supportCampbell Barton
Still need to adjust for contiguous UV's
2015-02-03Fix possible (unlikely) buffer overrunCampbell Barton
Translated strings didn't check fixed length for PET id's
2015-02-03Add inverse-square blending for PET and warpCampbell Barton
Similar to 'Root' but without noticeable spike/pinch in the center.
2015-01-31Compiler warning: double-promotionCampbell Barton
2015-01-26Cleanup: strcmp/strncmp -> STREQ/STREQLEN (in boolean usage).Bastien Montagne
Makes usage of those funcs much more clear, we even had mixed '!strcmp(foo, bar)' and 'strcmp(foo, bar) == 0' in several places...
2015-01-20Fix transform glitch: Ctrl/Shift didn't refreshCampbell Barton
2015-01-20Cleanup: use constCampbell Barton
2015-01-19Bugfix T43293: Crash when editing shared GPencil datablock in VSEJoshua Leung
The problem here was that when a Grease Pencil datablock is shared between the 3D view and another one of the editors, all the strokes were getting handled by the editing operators, even if those strokes could not be displayed/used in that context. As a result, the coordinate conversion methods would fail, as some of the needed data would not be set. The fix here involves not including any offending strokes in such cases...
2015-01-13Cleanup: fixes for building with recent clangCampbell Barton
2015-01-13Cleanup: consistent arg order in bmeshCampbell Barton
2015-01-12revert part of 7a1dc20Campbell Barton
These warnings are false positives & confuses intended logic to set dummy values.
2015-01-11Cleanup: quite some harmless but noisy warnings from gcc...Bastien Montagne
2015-01-07Fix for bool flag useCampbell Barton
2015-01-07Fix: Segfault in Image Editor when transforming GPencil StrokesJoshua Leung
2014-12-14Fix T42892: UV pixel snap with negative valuesCampbell Barton
2014-12-12cleanup: disallow NULL arg to uvedit_aspectCampbell Barton
also some typo's
2014-11-30Cleanup: warnings & spaceCampbell Barton
2014-11-30Grease Pencil - Storyboarding Features (merge from GPencil_EditStrokes branch)Joshua Leung
This merge-commit brings in a number of new features and workflow/UI improvements for working with Grease Pencil. While these were originally targetted at improving the workflow for creating 3D storyboards in Blender using the Grease Pencil, many of these changes should also prove useful in other workflows too. The main highlights here are: 1) It is now possible to edit Grease Pencil strokes - Use D Tab, or toggle the "Enable Editing" toggles in the Toolbar/Properties regions to enter "Stroke Edit Mode". In this mode, many common editing tools will operate on Grease Pencil stroke points instead. - Tools implemented include Select, Select All/Border/Circle/Linked/More/Less, Grab, Rotate, Scale, Bend, Shear, To Sphere, Mirror, Duplicate, Delete. - Proportional Editing works when using the transform tools 2) Grease Pencil stroke settings can now be animated NOTE: Currently drivers don't work, but if time allows, this may still be added before the release. 3) Strokes can be drawn with "filled" interiors, using a separate set of colour/opacity settings to the ones used for the lines themselves. This makes use of OpenGL filled polys, which has the limitation of only being able to fill convex shapes. Some artifacts may be visible on concave shapes (e.g. pacman's mouth will be overdrawn) 4) "Volumetric Strokes" - An alternative drawing technique for stroke drawing has been added which draws strokes as a series of screen-aligned discs. While this was originally a partial experimental technique at getting better quality 3D lines, the effects possible using this technique were interesting enough to warrant making this a dedicated feature. Best results when partial opacity and large stroke widths are used. 5) Improved Onion Skinning Support - Different colours can be selected for the before/after ghosts. To do so, enable the "colour wheel" toggle beside the Onion Skinning toggle, and set the colours accordingly. - Different numbers of ghosts can be shown before/after the current frame 6) Grease Pencil datablocks are now attached to the scene by default instead of the active object. - For a long time, the object-attachment has proved to be quite problematic for users to keep track of. Now that this is done at scene level, it is easier for most users to use. - An exception for old files (and for any addons which may benefit from object attachment instead), is that if the active object has a Grease Pencil datablock, that will be used instead. - It is not currently possible to choose object-attachment from the UI, but it is simple to do this from the console instead, by doing: context.active_object.grease_pencil = bpy.data.grease_pencil["blah"] 7) Various UI Cleanups - The layers UI has been cleaned up to use a list instead of the nested-panels design. Apart from saving space, this is also much nicer to look at now. - The UI code is now all defined in Python. To support this, it has been necessary to add some new context properties to make it easier to access these settings. e.g. "gpencil_data" for the datablock "active_gpencil_layer" and "active_gpencil_frame" for active data, "editable_gpencil_strokes" for the strokes that can be edited - The "stroke placement/alignment" settings (previously "Drawing Settings" at the bottom of the Grease Pencil panel in the Properties Region) is now located in the toolbar. These were more toolsettings than properties for how GPencil got drawn. - "Use Sketching Sessions" has been renamed "Continuous Drawing", as per a suggestion for an earlier discussion on developer.blender.org - By default, the painting operator will wait for a mouse button to be pressed before it starts creating the stroke. This is to make it easier to include this operator in various toolbars/menus/etc. To get it immediately starting (as when you hold down DKEy to draw), set "wait_for_input" to False. - GPencil Layers can be rearranged in the "Grease Pencil" mode of the Action Editor - Toolbar panels have been added to all the other editors which support these. 8) Pie menus for quick-access to tools A set of experimental pie menus has been included for quick access to many tools and settings. It is not necessary to use these to get things done, but they have been designed to help make certain common tasks easier. - Ctrl-D = The main pie menu. Reveals tools in a context sensitive and spatially stable manner. - D Q = "Quick Settings" pie. This allows quick access to the active layer's settings. Notably, colours, thickness, and turning onion skinning on/off.
2014-11-28Cleanup: unused headersCampbell Barton
2014-11-27Partial Fix T42652: Transform falloff for mesh islandsCampbell Barton
This doesn't currently do anything clever when a single vertex is shared by multiple islands (uses closest only).
2014-11-27Transform: fix for fcurve transform crashCampbell Barton
counting handles was out of sync, now use exact same logic.
2014-11-27Transform: correct flag -> boolCampbell Barton
2014-11-24Politically correct terrible consequencer changesAntony Riakiotakis
This patch includes the work done in the terrible consequencer branch that hasn't been merged to master minus a few controversial and WIP stuff, like strip parenting, new sequence data structs and cuddly widgets. What is included: * Strip extensions only when slipping. It can very easily be made an option but with a few strips with overlapping durations it makes view too crowded and difficult to make out. * Threaded waveform loading + code that restores waveforms on undo (not used though, since sound_load recreates everything. There's a patch for review D876) * Toggle to enable backdrop in the strip sequence editor * Toggle to easily turn on/off waveform display * Snapping during transform on sequence boundaries. Snapping to start or end of selection depends on position of mouse when invoking the operator * Snapping of timeline indicator in sequencer to strip boundaries. To use just press and hold ctrl while dragging. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D904
2014-11-20Fix T42660 snapping not working nicely on graph editor.Antony Riakiotakis
Basically, get the grid increments and reuse them when snapping. System is slightly crappy here, we should calculate those factors only once, but leaving as todo for later.
2014-11-17Simplify function to get view vector in world spaceAntony Riakiotakis
2014-11-16Cleanup: use BLI_listbase_*** prefix for count,sort,sort_rCampbell 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-11-13BMesh: shrink/fatten faces-normals in face modeCampbell Barton
nice for solid-modeling, gives better results for partial selections.
2014-11-13Fix T42571,T42572 snapping ignores linked objectsAntony Riakiotakis
Make sure to use edit object if objects share the same data.
2014-11-11UI Refactor T41640Campbell Barton
Make the UI API more consistent and reduce confusion with some naming. mainly: - API function calls - enum values some internal static functions have been left for now
2014-11-10Fix T42199: PET displays when transforming around centersCampbell Barton
Old code only worked for faces.
2014-11-05Simplify node frame detach operators, based on T34670 by @julien.Lukas Tönne
* The `NODE_OT_parent_clear` operator has been removed. This was a very simplistic operator that detached every selected node, which is not very useful in case of hierarchical frames. The `NODE_OT_detach` operator only detaches the top parent nodes in the selection, keeping the hierarchy of selected nodes intact. * The `ALT+P` shortcut has been reassigned to the `NODE_OT_detach` operator which replaces the previous `NODE_OT_clear` mapping with similar behavior (also gives a menu entry shortcut now). * Shortcuts for `NODE_OT_detach_translate_attach` have been removed, due to crowded and messy keymap and unintuitive shortcut `ALT+F`. This macro operator is still registered, in case hardcore users want to make their own keymaps, but not mapped by default. Node keymaps may need some redesign in the future for these things.
2014-10-30Transform: snapping: normal-align: Cleanup!Bastien Montagne
Use BLI's `rotation_between_vecs_to_mat3` helper instead of own custom code, both simplifies the code and fixes wrong handling when snapped normal was exactly opposed to org one (i.e. 180° rot case).
2014-10-30Math Lib: add transpose_m3_m3, m3_m4, m4_m4Campbell Barton
2014-10-30Fix T42444: Neg scale rotated object flips 2x axisCampbell Barton
This is a very old bug and a few attempts have been made to fix it before, Old code was checking worldspace axis flipping, instead of axis flipping WRT the axis-alignment of the object.
2014-10-29Cleanup: warnings, typosCampbell Barton
2014-10-28Fix T41041: 'Delete keyframe' removes markers tooCampbell Barton
Operators that trigger UI events (but nothing else) were using 'CANCELLED' making it impossible to tell if an invoke function failed, or opened a menu.
2014-10-23Fix T42354 modal transform map not cycling through local/globalAntony Riakiotakis
orientation properly Patch by Phillip Oeser, thanks!
2014-10-22Cleanup: avoid loop-in-loop when mirror isn't usedCampbell Barton
Also name 'children' is normally used for a list
2014-10-22Fix T42334: x-mirror fails in armature with a partially mirrored chain.Lukas Tönne
When resetting edit bones on cancel, they also have to reset connected parent and child bone tips and heads respectively, since these can be modified during the transform.
2014-10-19Fix typo in calculateCenterMedian that could give computed median point ↵Grigory Revzin
wrong values. From soc-2014-shapekey branch, with minor edits by mont29 (Bastien Montagne).
2014-10-16Fix T42256: Translation operator moves Child-Of constrained objects in wrong ↵Bastien Montagne
space when only using parent's rotation and parent is rotated. Just do not use crazyspace correction with childof constraints in this case. Note this is only a very partial fix (partial use of parent loc on some axes is still broken in transform), a real fix would probably require a full rewrite of constraints handling in transform code (a mere static correction matrix just cannot work in all possible cases, we'd need a full dynamic correction system here). Anyway, transform code as a whole is horrible. :/
2014-10-13BLI_utildefines: add SQUARE macroCampbell Barton
also minor cleanup
2014-10-10Cleanup: (float)floor -> floorfCampbell Barton
2014-10-08Ghost Context RefactorJason Wilkins
https://developer.blender.org/D643 Separates graphics context creation from window code in Ghost so that they can vary separately.
2014-10-07Cleanup: styleCampbell Barton
2014-10-03Cleanup: spelling, wsCampbell Barton
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-28Transform: Provide descriptive error messages when wrong transform modes are ↵Joshua Leung
used in DopeSheet
2014-09-24Cleanup: const correctness for BLI_sortlistCampbell Barton