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
2013-04-29move modal view3d keymaps out of main list of keymaps into the view3d section.Campbell Barton
2013-04-26edgeslide fixes/tweaksCampbell Barton
* re-executing edgeslide was using initial mouse coords only. * allow negative smooth * allow more then 10 cuts in RNA limits.
2013-04-15Fix: when using a search menu with an operator's enum prop, the operator was ↵Bastien Montagne
previously always executed with default options (appart from the search-set enum, of course). Now we store the op's properties in search button, so that you can specify non-default options (as it was already possible with e.g. pop-up menu from an operator's enum prop). To achieve this, some code (callbacks and search button creation) was moved from wm_operators.c to interface/interface.c, and a new UI function was added, uiDefSearchButO_ptr. Note: This new code uses the fact that uiButHandleFunc callbacks get executed before operator when one of its arg is the button itself! Many thanks to Campbell who helped me a lot with this patch! Cleanup: also removed two unused pointers from uiBut struct.
2013-04-13Bug fix #34896Ton Roosendaal
The feature "Keep Session" was also loading that session when you double-click on a .blend to open it, or when a .blend file was on commandline. Moved this feature to the main() in creator.c, so it can check on it properly, skipping the kept session when a file was loaded.
2013-04-12Paint refactoring commit, non-disruptive (in theory :p)Antony Riakiotakis
* Fix precision overflow issue with overlay previews, * Expose alpha mask mapping to UI (still not functional but coming soon). * More overlay refactoring: Overlay now does minimal checking for texture refresh. Instead, we now have invalidation flags to set an aspect of the brush overlay as invalid. This is necessary because this way we will be able to separate and preview different brush attributes on the overlays, using different textures: These attributes/aspects are: Primary texture (main texture for sculpt, vertex, imapaint) Secondary texture (mask/alpha texture for imapaint) Cursor texture (cursor texture. It involves brush strength and curves) Modified the relevant RNA property update functions and C update callback functions to call the relevant cursor invalidation functions instead of checking every frame for multiple properties. Properties that affect this are: Image changes, if image is used by current brush, Texture slot changes, similarly Curve changes, Object mode change invalidates the cursor Paint tool change invalidates the cursor. These changes give slightly more invalidation cases than simply comparing the relevant properties each frame, but these do not occur in performance critical moments and it's a much more elegant system than adding more variables to check per frame each time we add something on the system.
2013-04-12Add property update for radial control operator. It will be necessaryAntony Riakiotakis
for upcoming overlay refresh commit, but since that commit is becoming too big, better have this separate to avoid getting this lost in the noise.
2013-04-10alternate solution for r55921 which was calling invoke() from exec(), which ↵Campbell Barton
shouldnt be done.
2013-04-09temporary fix for saving custom template files similar to startup .blend fileGaia Clary
2013-04-04Release Logs:Thomas Dinges
* Readme and release links for upcoming Blender 2.67.
2013-04-04code cleanup: use bools in interface handlers, dont show translation menu ↵Campbell Barton
when right clicking on splash, use less confusing args for copy/paste function.
2013-04-04code cleanup: use bools in UI and WM code, quiet some shadow warnings, ↵Campbell Barton
remove unused function uiEmboss()
2013-03-28fix for loosing recent-files when running 'Copy Previous Settings'.Campbell Barton
2013-03-20code cleanup: use booleans for mesh and selection code.Campbell Barton
2013-03-19add BLI_rcti,f_recenter()Campbell Barton
fix for uninitialized variable use in radial_control_get_properties() and bad cast in bpy api's foreach_parse_args()
2013-03-18Just added a comment:Ton Roosendaal
To make circle select allow pass-through for view events, several issues have to be tackled. 1) other modal ops run on top (border select), 2) middlemouse is used now 3) and what for tablet/trackpad or people without middlemouse? The MMB deselection for border/circle is not optimal now... needs rethinking this. Better would be to check on non-persistant-modality for circle, to start with gesture style event like lasso or border can do now.
2013-03-15Add the possibility to define the translation context for py rna classes ↵Bastien Montagne
(operators, panels and menus). Thanks to Campell and Brecht for the reviews!
2013-03-13code cleanup: use const events for modal and invoke operators.Campbell Barton
2013-03-10add STREQ macro (commonly used macro like CLAMP, MAX2, STRINGIFY). Use for ↵Campbell Barton
some areas of the python api, bmesh.
2013-03-10patch [#34103] check_for_dupid.patchCampbell Barton
from Lawrence D'Oliveiro (ldo) - more comments - more uses of bool type - define symbol for length of in_use array in check_for_dupid
2013-03-07Border for compositor viewer node featureSergey Sharybin
This adds border option to compositor, which affects on a backdrop and viewer nodes, which is useful for faster previews and tweaks. Final compositing still happens for the whole frame, but if it'll be needed it's not so difficult to support it as well. To use border there's Ctrl-B shortcut in the compositor editor, which i used to define region you want to restrict compositing to. There's also "Viewer Border" option in the N-panel in case you'll want to disable border compositing. Some areas could be cleaned a bit, like ideally it shall not be viewer image clearing in viewer_border_update RNA callback, but currently it's not so much clear how to make it the same fast as simple memset and glue it somehow to compositor. Will think of nicer solution a bit later.
2013-03-05patch [#34103]Campbell Barton
from Lawrence D'Oliveiro (ldo) More use of bool type, necessitating adding inclusion of BLI_utildefines.h, or moving it up in the inclusion order if it was already included, in various places - storage.c: make some variables only used in bli_builddir local to that - storage.c: BLI_file_descriptor_size should allow 0 as a valid file descriptor - path_util.c: make pointers to non-reentrant storage returned from folder routines const, necessitating making variables holding these returned pointers const elsewhere as well - path_util.c: BLI_string_to_utf8 closes iconv context in case of conversion error - blf_lang.c: fill_locales routine now has its own "languages" local variable to construct paths (was stealing internal storage belonging to BLI_get_folder before)
2013-03-04patch [#34103] use boolean in path functions and add comments.Campbell Barton
path_util_1.patch from Lawrence D'Oliveiro (ldo)
2013-03-04BugfixTon Roosendaal
For 2.66a Allow trackpad and magic mouse swipes to control brush size for circle select. (Similar to mousewheel).
2013-02-28More UI messages fixes...Bastien Montagne
2013-02-21Dependency Graph: some refactoring which should have no user visible impactBrecht Van Lommel
besides performance in some cases. * DAG_scene_sort is now removed and replaced by DAG_relations_tag_update in most cases. This will clear the dependency graph, and only rebuild it right before it's needed again when the scene is re-evaluated. This is done because DAG_scene_sort is slow when called many times from python operators. Further the scene argument is not needed because most operations can potentially affect more than the current scene. * DAG_scene_relations_update will now rebuild the dependency graph if it's not there yet, and DAG_scene_relations_rebuild will force a rebuild for the rare cases that need it. * Remove various places where ob->recalc was set manually. This should go through DAG_id_tag_update() in nearly all cases instead since this is now a fast operation. Also removed DAG_ids_flush_update that goes along with such manual tagging of ob->recalc.
2013-02-19Small correction to make strict compiler setup be happySergey Sharybin
2013-02-19Fix #34315: memory leak cancelling move to layer operator, after change to makeBrecht Van Lommel
it not execute immediately when opening the popup.
2013-02-17Fix #34285: sculpt/paint radial control F key operators did not adjust brush ↵Brecht Van Lommel
size to retina pixel size correctly.
2013-02-17Another huge bunch of UI translation fixes, mostly reported by Leon Cheung, ↵Bastien Montagne
Sv.Lockal, Gabriel Gazzán and Satoshi Yamasaki, thanks!
2013-02-12fix for own commit r54482, PROP_DISTANCE was being checked for by radial ↵Campbell Barton
control operator. now allow PROP_NONE and treat it as a distance.
2013-02-11fix for weight gradient crashing on redo (wasn't possible to redo this ↵Campbell Barton
initially).
2013-02-11style cleanup: also some typosCampbell Barton
2013-01-27Operators name "cleanup"Dalai Felinto
The operator names all show up in the Search button. As such is nicer if they can all have the main words capitalized. e.g. "Snap strips" should be "Snap Strips" "Copy to clipboard" should be "Copy to Clipboard" This was done with a mix of bash tools, regex, and manual work because I'm too rushed into regex :) + fix bge stereo eye separation tooltip
2013-01-22property change reporting now uses the context again, rather then checking a ↵Campbell Barton
dir() on context, hard-code common paths. eg: bpy.context.scene.render.resolution_x = 1921 bpy.context.object.data.use_auto_smooth = True bpy.context.object.active_material.diffuse_intensity = 1 bpy.context.scene.world.exposure = 0.1 also remove duplicate GS() defines
2013-01-17Release Cycle:Thomas Dinges
* Readme and release log links for the Blender 2.66 release.
2013-01-09add RNA_def_struct_ptr(...) to use for runtime struct registration, saves ↵Campbell Barton
over 2000 string lookups on startup and gives overall ~10% speedup for starting blender on my system.
2013-01-08style cleanupCampbell Barton
2013-01-02Some UI message fixes...Bastien Montagne
2013-01-02Bug fix - post 2.65aTon Roosendaal
New option "Keep Session" was not using "untitled.blend" as default save name, in case a startup.blend was kept as session. Could give bad accidents.
2012-12-28revert r53356, this stopped the leak but still wasn't working nice.Campbell Barton
Add asserts when CTX_data_pointer_get/CTX_data_collection_get are incorrectly used. disable context inspection for now, Will enable again when its working properly.
2012-12-23Added support of J2K codec for Jpeg2000 writingSergey Sharybin
This codec is absolutely needed to generate DCP using OpenDCP, before that external application to convert JP2 to J2K was used which slowed down export a lot. New codec is exposed to image format settings panel and called Codec. Default one is JP2 which creates files with .jp2 extension, new one is called J2K which creates with .j2c extension. Other changes: - Fixed avi jpeg warning which was treating as error here. - Made it so extension is detecting from ImageFormatData instead of image file type, which makes it possible to have different extension for the same file type depending on it's settings. IRIS format should still be changed (depending on number of channels it'll be .bw, .rgb or .rgba extension) - Default image format settings would be set from image buffer when re-saving it. Makes it possible to easily open .j2c file and save it using J2K codec (without this change it'll save as .jp2 using JP2 codec)
2012-12-22Weight gradient tool for weight paint modeCampbell Barton
- blends from current weight into alpha zero. - uses brush alpha & curve. - respects weight paint vertex/face select modes. - updates realtime. Access With - Alt+LMB (linear gradient) - Ctrl+Alt+LMB (radial gradient) note: - WM_gesture_straightline_* are used but not well suited to this task, may end up replacing with own modal operator. - Key handling works but needs to be done better.
2012-12-19improve info view property output for properties.Campbell Barton
- Include RNA properties when checking for matches. - Don't include the context's property store (these are normally set by the UI code and not accessible by a script author) Note: added CTX_data_dir_get_ex() which has options for returning different members from the context.
2012-12-18fix for crash in recent changes, missing NULL checkCampbell Barton
2012-12-18fix for crash in own commit - happend when changing userprefs.Campbell Barton
2012-12-18use 'bpy.context' when printing properties in the info window.Campbell Barton
2012-12-18changing RNA properties now prints python script in the info view.Campbell Barton
next will add context so bpy.data.xxx[id] are not used for all references.
2012-12-18functions to make a string representation of a property & assignment.Campbell Barton
2012-12-18Bug fix, IRC collection. (Fix for recent commit)Ton Roosendaal
On saving new files (after loading startup.blend), the user prefs were included. G.fileflags again...
2012-12-15add checks to style checker script for 'a . b' and 'a []'Campbell Barton
also use BLI_findindex for modifiers_indexInObject