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-01-09Fix T43159: Copying of linked datablocks using relpath leads to invalid ↵Bastien Montagne
paths in new copies. Propper fix reverting most of rB60e70c0c6014e5, which was only partial specific fix. This code uses generic `BKE_id_lib_local_paths()` func to handle all possible paths. Reviewers: sergey, campbellbarton Differential Revision: https://developer.blender.org/D977
2015-01-08Fix T43159: Copying of linked datablocks using relpath leads to invalid ↵Bastien Montagne
paths in new copies. Simply have to rebase onto main filepath when copying, if source datablock is lib and path is relative. Afaict, only affected Image and Text datablocks. MovieClip would also be a candidate, but has no copy implemented currently.
2015-01-08GHash: use reinsert instead of remove/insertCampbell Barton
2015-01-07Recalculate particle pathcache stuff for all particles instead ofLukas Tönne
trying to be smart. This breaks child interpolation otherwise because sometimes parent paths are not calculated and give bad clumping results.
2015-01-07PyAPI: Call to get the pixel x,y in a text blockMartin Felke
This allows scripts to request the screen location of any (line, column) pair.
2015-01-06Remove slurph shape-key featureCampbell Barton
This is an old option which wasn't working in over a year without complaint.
2015-01-06cleanup: warningsCampbell Barton
2015-01-06Fix T43122: Shrinkwrap target, wrong linked objectCampbell Barton
2015-01-04sequencer: don't return big values (fill pointer instead)Campbell Barton
2015-01-04cleanup: use 'coords' abbreviation for functions.Campbell Barton
2015-01-03Refactor 'fit in camera view' code, and expose it to RNA.Bastien Montagne
This changes BKE's fitting code to use `BKE_camera_params_compute_viewplane` instead of `BKE_camera_view_frame`. This allows that code to work with orthographic projection too. Also, two funcs were added to rna's Object, to resp. get the projection matrix of that object (mostly useful for cameras and lamps objects), and return position this object should be to see all (to fit) a given set of points. Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D961
2015-01-02Fix T43099: Modifiers in edit mode might mess up materialsSergey Sharybin
The issue was originall caused by 2e8ba17 by removing necessery call GPU_enable_material(). It was probably removed because in some cases material was enabled after calling setDrawOptions. That wasn't always a case for edit mode. This is absolutely to be included to 2.73
2015-01-02cleanup: styleCampbell Barton
2015-01-01cleanup: redundant casts & const cast correctnessCampbell Barton
2015-01-01Fix T43078: Strip custom proxy files did not respect color space settingsSergey Sharybin
2014-12-31Fix T42984 detail flood fill not respecting mask values for smooth/sharpAntony Riakiotakis
curves. Issue here is that brush curve could return negative values. This would result in overflow of mask values. Those were not visible during real time preview because result would be clamped. We had two functions in the code, one of which allowed negatives but I don't think that we really want that, users have no control over the negative values at all anyway. Thanks to the reporter, Leon Cheung for figuring out the issue :)
2014-12-29Fix stupid handling of 'Object.matrix_local' in RNA.Bastien Montagne
The getter of this matrix (actually, `BKE_object_matrix_local_get()`) was only correct in case of pure-object parenting, bone parenting and such did not gave valid results. Also cleaned up a bit setter code, was using as temp storage ob->obmat itself, which is supposed to be a world matrix! Reviewers: campbellbarton Reviewed By: campbellbarton Differential Revision: https://developer.blender.org/D958
2014-12-29Move average stroke from sculpt session to unified paint settings so itAntony Riakiotakis
can be reused by other paint systems too.
2014-12-29cleanup: redundant call to BKE_object_apply_mat4Bastien Montagne
2014-12-27cleanup: redundant tri-normal calculationCampbell Barton
2014-12-27Brush Texture Angle Goodies:Antony Riakiotakis
This commit includes a few things: * It moves the Rake and Random flags from the brush to the MTex. * The first change allows mask textures to have independent rake support. * Random rotation now has an angle value that controls the width of the effect from the rake or default angle * Rake and Random are now supported together.
2014-12-26Fix T43010 regression in material setting.Antony Riakiotakis
Caused by own fix for another display case. Shoud be safe for 2.73 final.
2014-12-24Fix T42997: Support RGBA output for HuffYUVSergey Sharybin
More like a feature request but was simple to support.
2014-12-19Fix for bad file name string matching in point caches, leading toLukas Tönne
deletion of baked caches. This happens when objects use file names with matching prefixes: "CubeX" -> not baked "CubeXYZ" -> baked The first objects cache should be discarded up to the current frame on file load, but the second should be left intact. But because the cache file names for both use the same prefix as well (based on hex name representation) they both match the "CubeX" name and get discarded. Adding the underscore terminator solves this issue, because it is never part of the hex file name string. WARNING: this solution does not work with custom names for point caches. This feature is pretty much broken, users have to ensure their names are unique themselves. Due to the possibility of underscores in names and the ambiguity of point cache suffixes there is no reliable way to encode filenames in that case.
2014-12-19Fix reversed args in function call (float, bool vs. bool, float).Bastien Montagne
Note 'same' values are kept for now, even though it was probably meant the other way around, it's safer to keep current behavior for now.
2014-12-15Fix for clip proxies builder reloading original footage framesSergey Sharybin
This isn't needed if the source is the image sequence.
2014-12-15Tracking: Fix wrong logic in tracks synchronizationSergey Sharybin
There was some stupidness in the way how tracks are synchronized from the job to actual DNA data leading to all sort of weird and wonderful failures again.
2014-12-15Tracking: Avoid possible treading issue reading the frame to syncSergey Sharybin
2014-12-15Tracking: Fix possible race condition accessing the tracksSergey Sharybin
Writing to the tracks was already inside the lock section, but reading was not. This could have lead to race condition leading to all sorts of weird and wonderful artifacts.
2014-12-14Fix for idproperty comparisonCampbell Barton
comparing arrays had flipped logic
2014-12-12Fix T42883: ID-Prop arrays longer than 'shot' failCampbell Barton
2014-12-11Fix crash when changing worlds with world background active.Antony Riakiotakis
Freeing the preview will free the original gpu material so NULL that out on copy.
2014-12-10Fix T42472: Undoing/Redoing repeated transform operator gives wrong final ↵Bastien Montagne
matrix on objects with no geom data. This hack should not be needed here, quoting Sergey, the actual issue comes from BKE_object_handle_update_ex, which is calling BKE_object_where_is_calc_ex when it shouldn't. Propper fix is depsgraph refactor topic, though.
2014-12-10Fix T42748: Crash in subsurf, threaded accessCampbell Barton
Allocating the iterator from a BLI_memarena wasn't threadsafe. Change the API to use stack memory for iterators. Thanks to @mont29 for finding exact cause of the bug.
2014-12-09Fix T42175: Modifiers don't render in sculpt mode using multiresSergey Sharybin
Modifier stack should ignore sculpt restrictions when creating derived render.
2014-12-08Fix T42824: Proxy bone custom-shape lost on undoCampbell Barton
2014-12-05Amendment to previous commit: Add an option to scene strips to disable GPencilJoshua Leung
On second thought, it is probably still worthwhile to be able to disable GPencil drawing on strips. By default, GPencil strokes are still shown by default now, but they can be turned off using this option if it turns out that they are getting in the way (e.g. a director/animator make some planning notes in the shot at an earlier stage which are hidden for normal display now, but are still there popping up sproadically during the animatic).
2014-12-05Grease Pencil sketches get included when doing OpenGL previews for scene ↵Joshua Leung
strips in sequencer After double checking the sequencer code, there doesn't seem to be any reason to exclude these from the sequencer previews. This makes it possible to use the sequencer to non-destructively chain together difference Grease Pencil animated shots together without having to render each image sequence first, allowing for a smoother workflow. Just in case the initial assumption isn't entirely correct, I've put in place an extra arg to the relevant functions which can be hooked up to a suitable option on the scene strip later to turn this on/off as needed.
2014-12-04Fix T41883 proxy sizes not correct.Antony Riakiotakis
Really bad issue which meant code could fetch an image buffer from the stored cache and modify it. Generally sequence image buffers could come from the cache and should not be modified directly. Easily solved by scaling a copy of the original.
2014-12-04Fix T42800: Blender suddenly closes after pressing solve camera motionSergey Sharybin
Couple of issues: - Fist/last frame calculation was wrong - Keyframe selection might silently fail leading to unpredictable math errors all over the place. Now if keyframe selection fails solver wouldn't run.
2014-12-03Fix really crappy bug after vertex array refactor commit, it used vertexAntony Riakiotakis
arrays offset when VBOs were active and could cause a crash in driver. Thanks to Dalai again for finding this out.
2014-12-02Fix T42767: Subsurfacing union boolean with same-named UVs crashes BlenderSergey Sharybin
Was own mistake in handling custom data layers in boolean modifier. Campbell, do you mind double-checking if it's all correct?
2014-12-02No need to free GPU images from BKE_image_free_buffers when in background modeSergey Sharybin
OpenGL in background mode is not used, so we can skip mutex lock and filling in the list which later is never used. This gives unmeasurable speedup by skipping mutex lock, plus solves memory leak in the background mode.
2014-12-02Cleanup: style & de-duplicateCampbell Barton
2014-12-01Cleanup: more int->bool.Bastien Montagne
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-29Correct includes for win32Campbell Barton
2014-11-29Cleanup: use const, avoid float -> double in matrix invertCampbell Barton
2014-11-29Cleanup: unused headersCampbell Barton