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-03FileBrowser: add search field in header bar.Bastien Montagne
Not much to add, pretty straightforward...
2015-01-03D824: Add themeing for keyframe lines in TimelineDiego Garcia
Reviewed by: Joshua Leung (aligorith)
2015-01-03Grease Pencil: Vertex size and colours are now themableJoshua Leung
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-03Fix RNA Image.frame_duration.Bastien Montagne
If a video was loaded (e.g. from python) but never 'ibuf-acquired', its Image->anim prop would still be NULL, returning useless '1' value as frame duration!
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-30Fix issue in separate rake control commit:Antony Riakiotakis
Mask slot still depended on regular slot to check some capabilities. Some angle capabilities now only depend on the texture slot, not the brush, so separate them and use the slot where appropriate.
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-28Cleanup: no need for hacks here, RNA allows for real read-only props, and if ↵Bastien Montagne
you define a getter func, it won't rely on any DNA member either...
2014-12-27GPencil UI: Color swatches for both Stroke and Fill colors are now shownJoshua Leung
The layers list and the Dopesheet channels now show color swatches for both the stroke and fill colours now. This is useful when you've got layers that only use either/or. * Currently, these only get shown if the relevant opacity setting is high enough for that aspect to contribute to the result. * The sizing of these items could do with some more tweaking (especially in the Dopesheet), as these may now be too small to accurately see and/or interact with. * There are some potential issues when using near-gray (or actually, colours similar to the list backgrounds, but that issue exists in other areas of Blender anyway. (NOTE: At this stage, these changes are still experimental, and not for 2.73 yet)
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-25Refactor 'immediate search' featureBastien Montagne
Currently, code just checks whether a text-edited button uses a given icon (VIEWZOOM) to decide to apply changes on each typed char. This patch adds a propper button flag (UI_BUT_TEXTEDIT_UPDATE) and a dedicated RNA flag (PROP_TEXTEDIT_UPDATE) for that. It's also now usable not only for text buttons, but also for example for num buttons when in 'text edit' mode, etc. It also fixes an actual bug, which is for text properties, in 'immediate' mode, hitting escape would not restore org value, because `ui_apply_but_TEX()` would set its orgstr to NULL on first call (giving it to `but->rename_orig` instead of copying it). Note no change in behavior is expected from user POV. Update for addons using that 'VIEWZOOM' icon 'feature' will follow (if any). Reviewers: campbellbarton Reviewed By: campbellbarton Projects: #user_interface, #bf_blender:_next Differential Revision: https://developer.blender.org/D938
2014-12-25Fix T42938: image.save_render sometimes saved the wrong passSergey Sharybin
Stupid mistake with non0initialized image user. Safe for final 2.73 release branch.
2014-12-24Fix rna paint update callbacks assuming meshesCampbell Barton
2014-12-22Fix T42952: Curve modifier not taken into account when curve is created from ↵Sergey Sharybin
mesh Curve and array modifiers requires curve path to be evaluated, dependency graph will make sure that curve eval would create such a path, but if curve was already evaluated we might miss path. So what we do now is: if path was not calculated for target curve we tag it for update.
2014-12-20RNA Object.matrix_local: Add a big warning this matrix is only relative to ↵Bastien Montagne
parent object. So 'advanced' parenting like e.g. bones or vertices need further processing to get a real parent-relative matrix...
2014-12-16Fix nasty typo in CPP RNA that would break on int or bool dynarrays...Bastien Montagne
2014-12-15Improve tip for simple deform originCampbell Barton
2014-12-12cleanup: disallow NULL arg to uvedit_aspectCampbell Barton
also some typo's
2014-12-11Fix T42859 smart UV unwrap does not support aspect correction.Antony Riakiotakis
Can be considered TODO but it's not bad to support either. Also added RNA api to get aspect ratio of assigned UV image - returns aspect corrected image dimensions so needs adjustments for uv editing.
2014-12-10UI: add Shift-Drag to multiselect expanded enum items too.Bastien Montagne
Differential Revision: https://developer.blender.org/D928
2014-12-09Sequencer: optionally show strip offsetsCampbell Barton
was disabled in recent sequencer refactor, enable with view menu option.
2014-12-09Fix bug reported by kopias on irc, crash when attempting to set canvasAntony Riakiotakis
with a non-mesh object selected
2014-12-08Cleanup: Minor edits to widget emboss codejulianeisel
* Rename "emboss" to "widget_emboss" * Remove duplicated UI_GetThemeColor4ubv function I made sure version bump and Save User Settings are working correctly ;P
2014-12-07Bugfix T42774: BSurface addon doesn't work on new buildsJoshua Leung
It turns out that several important modelling addons depend on the assumption that Grease Pencil data gets created on the active object instead of on scene level. This commit adds a toggle for setting whether new Grease Pencil data is created on scene or object level. These work as follows: * "Scene" = The behaviour originally introduced as part of the GPencil_EditStrokes changes. New strokes are added to the scene instead of the active object, making it easier to manage things when working with Grease Pencil in general. * "Object" = The previous behaviour (from 2.50 to 2.72), where new strokes are added to the active object. This is now being reintroduced to soften the transition for addons out there which have been doing this in a lazy/lax way so far. Now, what may be slightly confusing are the "fallback" measures in place: * "Scene" - To ensure that loading old files goes ok without needing a version patch, if the active object has GPencil data, that will be used in place of the scene's own GPencil data. * "Object" - If there was no active object at the time of creating strokes (for instance, if you delete the active object immediately before drawing), GPencil data gets attached to the current scene instead. Since some tweaks may still be needed here, I've decided to bump the subversion number so that we have a reference point when doing version patches.
2014-12-05Render API: Add RenderEngine.error_set() functionSergey Sharybin
This function sets an error message which would be displayed after rendering is over and info space lost the link to the engine.
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-03Fix typos.Tamito Kajiyama
2014-12-01Fix for potential bug in paint brush RNA updates, was casting to wrongLukas Tönne
DNA type. The update function is for the Paint struct, containing a Brush pointer property, not Brush itself. Probably went fine so far because was only used for a notifier pointer, but still ...
2014-12-01Fix: Changing Grease Pencil datablocks updates the viewJoshua Leung
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-29Cleanup: unused headersCampbell Barton
2014-11-28Delete GPU buffers if preference changes.Antony Riakiotakis
2014-11-28Cleanup: duplicate headersCampbell Barton
2014-11-26World background working on cycle nodes.Antony Riakiotakis
This is added in the spirit of the general cycles GLSL system which is pretty much WIP still. This will only work on cycles at the moment but generating for blender internal is possible too of course though it will be done in a separate commit. This hasn't been tested with all and every node in cycles, but environment and regular textures with texture coordinates work. There is some difference between the way cycles treats some coordinates, which is in world space and the way GLSL treats them, which is in view space. We might want to explore and improve this further in the future. ...also </drumroll>
2014-11-25Minor UI message fix.Bastien Montagne
2014-11-24UI: avoid property lookup for uiItemMenuEnumRCampbell 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-24Allow explicit control over world background.Antony Riakiotakis
Previosuly, world was shown on the background if "Render Only" was used. Now user should be able to set it independently. This is a prelude to (drumroll)...
2014-11-24BLI_utildefines: add UNUSED_VARS() macroCampbell Barton
2014-11-23Refactor: BLI_path_util (part 2)Campbell Barton
Use BKE_appdir/tempdir naming prefix for functions extracted from BLI_path_util
2014-11-23Refactor: BLI_path_util (split out app directory access)Campbell Barton
This module is intended for path manipulation functions but had utility functions added to access various directories.
2014-11-20SCons: Proper solution for local symbols mapSergey Sharybin
Configuration used to override the link flags, it better restore them once the configuration is done.
2014-11-20SCons: Remove duplicate PLATFORM_LINKFLAGS from makesdna and makesrnaSergey Sharybin
Hopefully it'll fix "anonymous version tag cannot be combined with other version" compilation error.
2014-11-19Refactor: Move part of vgroup handling code from ED_mesh/object_vgroup.c to ↵Bastien Montagne
BKE_object_deform. Along with some minor cleanup and simplifications. Reviewers: campbellbarton Subscribers: sergey Differential Revision: https://developer.blender.org/D903
2014-11-18Fix T41969: Enviropment map crashSergey Sharybin
The issue was caused by the threading conflict between main thread which might free environment map and render thread which might be using that environment map. Solved by stopping preview jobs when changing environment map. Sure there are still ways to run into threading conflict, but would rather solve this things case-by-case.
2014-11-18BLI_assert: print a backtrace with the errorCampbell Barton
Add BLI_system_backtrace()
2014-11-17Cleanup: Shapekey: get rid of `ED_vgroup_object_is_edit_mode()`Bastien Montagne
It was doing exactly the same thing as `BKE_object_is_in_editmode_vgroup()`, tsst...