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-05-08Cleanup: use r_* prefix for return argsCampbell Barton
2015-05-04Cleanup: deduplicate code.Bastien Montagne
FileBrowser had its own 'shorten_string' func, when we have a full fledge one in interface_widget code...
2015-05-04Support displaying metadata for images in sequencer preview windows (notAntony Riakiotakis
backdrop)
2015-05-04Fix Buttons context, invalid object data accessCampbell Barton
Another instance of T44376. Crash where the Python context would access a stale pointer to the active object.
2015-05-04Fix T44376: Buttons context, invalid data accessCampbell Barton
Removing a scene from the buttons window would crash from a Python operator.
2015-05-04Add name argument to data creation API callsCampbell Barton
Was adding then renaming, unnecessarily.
2015-04-30Fix T44439: outliner's treestore could keep invalid ID pointers, could crash ↵Bastien Montagne
on undo due to invalid mem access. We cannot nuke treestore in readfile's `blo_lib_link_screen_restore()`, because this will destroy all UI-state data (like opened/closed items, etc.). Since we cannot know for sure whether an ID pointer from tselem->id is valid here, we have to ensure they are never invalid, i.e. to always set them to NULL when we delete them. To do so, this commit uses a similar approach as what already exists for ID references in WM notifiers - it extends `free_notifier_reference_cb()` to also nullify those IDs in all outliners. Note that some ID types are not used(shown) by outliner currently, so `TREESTORE_ID_TYPE` macro was added, that checks whether an ID is possibly used by outliner. Avoids a few searches in whole tree whene deleting some IDs. Reviewers: campbellbarton, sergey Maniphest Tasks: T44439 Differential Revision: https://developer.blender.org/D1272
2015-04-30Minor tweaks to make fill and invert support gpixel operationsAntony Riakiotakis
2015-04-28Project Paint: Add symmetry supportCampbell Barton
- Access from symmetry panel (as with sculpt) - Supports multiple axis at once. - Supports all brush types including clone.
2015-04-26UI: 'View Online Manual' ShortcutJulian Eisel
D1031, implement proposal T37478 to give easy access to the online manual. Use Alt+F1 while hovering over a button/setting.
2015-04-25CleanupCampbell Barton
2015-04-25Fix T42495: Fullscreen area icon glitchJulian Eisel
Tried a couple of things to trigger an update/redraw for the exact right moment (sending azone update event, timer, delayed redraw, etc) but this seems to work rock solid without being *that* ugly.
2015-04-23BMesh: mesh-data picking, edge+vert improvementCampbell Barton
When zoomed out vert bias over edges meant it wasn't possible to select edges. Now pick the edge if the cursor is closer to its center.
2015-04-22Fix T44477: Overlapping tooltips in OutlinerJulian Eisel
Tooltips for buttons in the Outliner could overlap the Outliner's RMB menu in some cases (and there's no way to get rid of the tooltip again). This disables the button's tooltip before creating the menu (as we do it for the normal RMB menu)
2015-04-22Fix and simplify vertical positioning and calculation of metadataAntony Riakiotakis
display more.
2015-04-21Metadata:Antony Riakiotakis
* Theme support for metadata display * Increase text DPI with scaling.
2015-04-21Metadata display support - patch by Julian and me.Antony Riakiotakis
Basically, blender adds a few metadata fields to images when we render an image. Those metadata can now be viewed in the image editor. Also, made sure metadata are available when we write imbufs to disc with "Save As". There may be more cases here that need fixing, but this means that loading an image with metadata will now properly preserve them in blender.
2015-04-21BMesh: mesh-data picking, general improvementsCampbell Barton
Generalize logic for vert/edge/face selection: - index cycling. - selection bias with mixed modes. Details: - Edges now support index cycling (as verts/faces did already) - Cycling over near elements is now only enabled when the mouse position remains the same. - No longer do 2 selection passes to perform index cycling. Fixes: - Edges behind the view could be selected (surprising nobody reported!) - Selection bias now only changes the element that gets picked without interning the return distance (was buggy with mixed modes).
2015-04-20Fixes for backbuf selection logicCampbell Barton
- Fix ED_view3d_backbuf_sample_rect, r_dist was set completely wrong. - Avoid duplicate calculations picking the nearest edge. - Bias against picking selected edges is now optional. - Remove unused callback reading the backbuf. - Remove unused strict option picking vertices.
2015-04-20Cleanup: use ED_view3d_backbuf_* prefixCampbell Barton
2015-04-20Fix T44383: Select face fails in some positionsCampbell Barton
When mixing vert/edge/face with select-visible, face selection could fail when not close enough to the center. This also fixes a bug where the bias for verts over edges would prefer faces over edges too, making edges harder to pick. Mixing edge with other selection modes works more predictably now.
2015-04-20Cleanup: use macro for common view3d zbuf checkCampbell Barton
2015-04-20Cleanup: use bool /w flag checksCampbell Barton
2015-04-18Cleanup: API naming use BKE_undo_ prefixCampbell Barton
2015-04-13Graph editor:Antony Riakiotakis
Normalization feature now uses the full range of the data instead of just one semiaxis for the maximum size.
2015-04-13New operator for action and graph editor that centers around currentAntony Riakiotakis
scene frame, bound to numberpad zero.
2015-04-06Multi-View and Stereo 3DDalai Felinto
Official Documentation: http://www.blender.org/manual/render/workflows/multiview.html Implemented Features ==================== Builtin Stereo Camera * Convergence Mode * Interocular Distance * Convergence Distance * Pivot Mode Viewport * Cameras * Plane * Volume Compositor * View Switch Node * Image Node Multi-View OpenEXR support Sequencer * Image/Movie Strips 'Use Multiview' UV/Image Editor * Option to see Multi-View images in Stereo-3D or its individual images * Save/Open Multi-View (OpenEXR, Stereo3D, individual views) images I/O * Save/Open Multi-View (OpenEXR, Stereo3D, individual views) images Scene Render Views * Ability to have an arbitrary number of views in the scene Missing Bits ============ First rule of Multi-View bug report: If something is not working as it should *when Views is off* this is a severe bug, do mention this in the report. Second rule is, if something works *when Views is off* but doesn't (or crashes) when *Views is on*, this is a important bug. Do mention this in the report. Everything else is likely small todos, and may wait until we are sure none of the above is happening. Apart from that there are those known issues: * Compositor Image Node poorly working for Multi-View OpenEXR (this was working prefectly before the 'Use Multi-View' functionality) * Selecting camera from Multi-View when looking from camera is problematic * Animation Playback (ctrl+F11) doesn't support stereo formats * Wrong filepath when trying to play back animated scene * Viewport Rendering doesn't support Multi-View * Overscan Rendering * Fullscreen display modes need to warn the user * Object copy should be aware of views suffix Acknowledgments =============== * Francesco Siddi for the help with the original feature specs and design * Brecht Van Lommel for the original review of the code and design early on * Blender Foundation for the Development Fund to support the project wrap up Final patch reviewers: * Antony Riakiotakis (psy-fi) * Campbell Barton (ideasman42) * Julian Eisel (Severin) * Sergey Sharybin (nazgul) * Thomas Dinged (dingto) Code contributors of the original branch in github: * Alexey Akishin * Gabriel Caraballo
2015-04-04WIP: Added dedicated operator for unlinking actions from the Action Editor ↵Joshua Leung
(NLA buttons support to come) After looking into this more carefully, I've found that we do in fact need a dedicate operator to add some custom logic when trying to unlink an action from the editor/datablocks. Specifically, this new operator does the following: 1) When in Tweak Mode, it shouldn't be possible to unlink the active action, or else, everything turns to custard. 2) If the Action doesn't have any other users, the user should at least get a warning that it is going to get lost. 3) We need a convenient way to exit Tweak Mode from the Action Editor 4) If none of the above apply, we can just unlink normally This commit implements this for the Action Editor, with stubs for the NLA Editor too. Those will be fixed next.
2015-04-03Fix: Drawing glitch when renaming animation channelsJoshua Leung
When renaming animation channels, the old names are no longer drawn behind the text boxes anymore. This used to cause problems if the names were long, or if text boxes were set to have transparent backgrounds. Thanks to kopias for reporting on IRC.
2015-03-31Proportional editing for IPO editor - version ready for feedback by artists.Antony Riakiotakis
This works by using the distance in the x axis only (usually artists want to influence nearby keyframes based on timing, not value). Tweaking handles is the same as tweaking the central handle. It's a bit ambiguous if proportional editing is really meaningful for handles but will leave that for artists to decide.
2015-03-30Cleanup: use const for typeinfoCampbell Barton
2015-03-28Cleanup: redundant struct declarationsCampbell Barton
2015-03-28Use union for EditBone'sCampbell Barton
Avoids complicated casts accessing as int
2015-03-28Nla Strip Controls: Added special FCurve type (in the animfiltering code)Joshua Leung
Using the standard "FCurve" animchannel type didn't work that well for the control FCurves on NLA Strips, as the paths would not resolve correctly, and the indentation was wrong. Also, there would likely be issues down the track with applying NLA mapping. Hence, it's easier to just create a separate type for this case, and adapt the rest of the code to also consider these (todo).
2015-03-28Nla Strip Controls: Added dedicated "Expander" channel to Action/Graph EditorsJoshua Leung
The "Nla Strip Controls" channel is used to house the per-strip FCurves for controlling the strip_time and influence properties. It sits above the active action's first group, at the same level in the hierarchy as other groups. TODO: It looks like a dedicated FCurve channel is needed for these control FCurves, so that we won't accidentally apply NLA mapping or have these FCurves disabled by the path lookups failing.
2015-03-24UI: remove UI_BTYPE_SEARCH_MENU_UNLINKCampbell Barton
Internal change only, use UI_BTYPE_SEARCH_MENU with an unlink flag instead. They are really the same button type, one just happens to have the option to unlink.
2015-03-21Cleanup: constify view3d/cameraCampbell Barton
2015-03-21View3D: fix view-selected zoom logicCampbell Barton
- Correct logic converting radius to view distance. - Wasn't taking view-zoom into account converting lens to angle. - Support framing the selection in the camera bounds (for camera locked views). Add ED_view3d_radius_to_dist to handles these details.
2015-03-20Remove unused armature codeCampbell Barton
ED_armature_deselect_all now simply de-selects
2015-03-19Speedup for constraints update from python scriptSergey Sharybin
General idea is to avoid actual calculation from property update() callback and tag things for update later instead. That said, pose constraint flags are now tagged for update and handled as a part of object update. In the new depsgraph it'll be a nice dedicated operation node. Also avoid updating disabled flags for all the modifiers. This part of the path is not totally optimal since it'll still need to iterate over bones in order to get pchan, but to optimize it further would be nice to find a way to avoid pchan requirement all together. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D1191
2015-03-19Cleanup: spelling grey -> grayCampbell Barton
2015-03-18Select nth option to skip stepsCampbell Barton
Patch T43752 @codemanx, added matching curve option.
2015-03-17Fix T44021: Crash switching Rendering Engines while viewport rendering + ↵Sergey Sharybin
animating Make sure preview render job is cancelled before freeing the render engine associated to the viewport.
2015-03-13Add an option to mesh.calc_tessface() to get rid of polygons and loopsSergey Sharybin
The purpose of this change is to add extra possibility to render engines and export scripts to reduce peak memory footprint during their operation. This new argument should be used with care since it'll leave mesh in not really compatible with blender format, but it's ok to be used on temp meshes. Unfortunately, it's hard to get scene where it'll show huge benefit because in my tests with cycles peak memory is reached in MEM_printmemlist_stats(). However, in the file with sintel dragon it gives around 1gig of memory benefit after removing the polys which would allow other heavy to compute stuff such as hair (or even pointiness calculation) to not be a peak memory usage. In any case, this change is nice to have IMO, and only means more parts of scene export code should be optimized memory-wise. Reviewers: campbellbarton Differential Revision: https://developer.blender.org/D1125
2015-03-12View3D: Quad-view opposite axis switchingCampbell Barton
Pressing Numpad9 now orbits to the opposite side in any viewport, with the advantage that it can switch locked-quadview axis to their opposite side.
2015-03-12Cleanup: de-duplicate view3d clippingCampbell Barton
2015-03-10Fix T43831: Image Editor: Render info not displayedSergey Sharybin
Issue was caused by b62c2a9 and root of it goes to the fact that text info is stored in the "main" scene, not the currently rendering one. This is a bit annoying but making it so text and result are coming from the same scene is a bit dangerous to do now. Will re-visit this change after the release and see if it might be done in a more clear fashion.
2015-03-10Fix T43953, make opengl render work like before, basically, if we renderAntony Riakiotakis
transparent, it will render sky/transparent, regardless of the "show world setting".
2015-02-27cleanup: double promotionCampbell Barton
2015-02-26cleanup: spelling & typosMike Erwin
Comments only, no functional change.