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
2011-10-04Fix #28202: (only) modifying keymap item properties did not save properly, theBrecht Van Lommel
update signal for this was missing. Problem is that the operator properties RNA update callback doesn't know the associated keymap item, worked around it with UI template now.
2011-09-22comment some unused vars / assignments.Campbell Barton
2011-09-21py/rna string subtypes for strings which should be automatically translated:Campbell Barton
layout.prop("blah", text="Translate Me!")
2011-09-19/blender/makesrna: Removed final points in UI strings and messages.Bastien Montagne
Plus a few splits of very long lines…
2011-09-09- turn RNA_warning into a macro which includes the function name (was being ↵Campbell Barton
written in manually but had incorrect func names in places). - add __func__ define to BLI_utildefines.h for MSVC.
2011-05-09patch [#21740] Image support for Empty ObjectsCampbell Barton
from Andy Braham (andybraham) This adds support for empties to reference images and draw in the 3D view. Modifications from the original patch. - use an empty draw 'image' type - use image aspect ratio for non-square-pixels - when the image is not found, still draw the frame.
2011-05-02Fix #27165: uvedit mesh selection sync did not handle click / shift+clickBrecht Van Lommel
for switching selection modes in the header.
2011-03-29use RNA_warning() rather then printf() so we get the python line number.Campbell Barton
2011-02-27doxygen: blender/makesrna tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-18- clear some warningsCampbell Barton
- rename layout.operator_enums -> operator_enum (since we have operator_menu_enum, only called in 4 places)
2011-01-13remove/comment unused varsCampbell Barton
also removed unnecessary NULL checks (where the pointer was used later without checking).
2011-01-10comment/remove various unused vars,Campbell Barton
also make rna function for new images require width and hight args.
2011-01-09remove unused vars, comment some which look like they could be useful still. ↵Campbell Barton
have makesrna.c omit unused _data definitions for rna funcs with no args.
2010-11-19patch [#24800] Make scene type buttons from material preview optionalCampbell Barton
from Wenzel Jakob (wenzel)
2010-11-17use 'const char *' by default with RNA functions except when the value is ↵Campbell Barton
flagged as PROP_THICK_WRAP. Also use const char in many other parts of blenders code. Currently this gives warnings for setting operator id, label and description since these are an exception and allocated beforehand.
2010-11-03- remove BLANK* from rna icon enum, would string search this list for every ↵Campbell Barton
python icon button call, enum from 818 down to 444. - remove unused space image members
2010-11-02fix for compiling with the c90 standard, support for non-static variable ↵Campbell Barton
initializers is a c99 feature.
2010-10-16- UNUSED macro wasn't throwing an error with GCC if a var become used.Campbell Barton
- made interface, windowmanager, readfile build without unused warnings. - re-arranged CMake's source/blender build order so less changed libs are build later, eg: IK, avi
2010-09-03use set as a suffix (matches operators)Campbell Barton
- set_frame() --> frame_set() - set_context_pointer() --> context_pointer_set() material adding works for curves and metaballs, new function to remove materials. materials.link() didnt well fit how this is used elsewhere - order matters - it can be linked more than once. - remove(material), isnt that useful since you need to manage indicies. ... use list style functions instead. materials.append(mat) / materials.pop(index)
2010-08-27move dopesheet UI template from C to pythonCampbell Barton
2010-08-25remove rna function template_triColorSet(), was only used in one place and ↵Campbell Barton
can be done just as well with 3 function calls.
2010-08-24remove recently added rna function uilayout.prop_search_self() and instead ↵Campbell Barton
allow collections to be coerced into rna structs when they define a type. eg: row.prop_search_self(scene, "active", "keying_sets", text="") ...becomes row.prop_search(scene.keying_sets, "active", scene, "keying_sets", text="") This is more flexible since it works for other UI functions too.
2010-08-23new UI rna functionCampbell Barton
layout.prop_search_self(), the same as layout.prop_search() except it uses an attribute of the collection. A number of collections have an 'active' member which couldnt be used with prop_search() and meant we had a mix of active properties being in collections and directly added as properties.
2010-08-23rename UI functionCampbell Barton
layout.prop_object() --> prop_search(). The internal name is uiItemPointerR, in python this can translate into into an Object, however this is misleading. It can be confused with a blender Object and uiItemPointerR can also be used for strings.
2010-08-17apply UserPrefs and Theme rna naming changes.Campbell Barton
2010-08-172.5 Modifier/Constraint TemplateThomas Dinges
* Code removal of "compact" feature, after narrow_ui removal this was not functional anyway.
2010-08-07== docs ==Luca Bonavita
Added some docs mainly in bpy.types.UILayout.html, descriptions by Florian Meyer (testscreenings), thanks.
2010-08-04Brush/Paint internal changesCampbell Barton
- remove brush array for each Paint struct, just use a single brush pointer. - removed rna function based template filtering. - filter brushes using a flag on the brush and the pointer poll function. - set the brushes using a new operator WM_OT_context_set_id(). TODO - remake startup.blend, currently brush groupings are lost. - rewrite WM_OT_context_set_id() to use rna introspection.
2010-07-14Merge GSOC Sculpt Branch: 28499-30319Jason Wilkins
https://svn.blender.org/svnroot/bf-blender/branches/soc-2010-jwilkins See log of that branch for details.
2010-07-05option for color wheel widget to make it easier to select values closer to ↵Campbell Barton
white, enable for color balance.
2010-07-05Improvements to Blenders color balance (lift/gamma/gain).Campbell Barton
Fairly closely match some mac application colin has called 'Looks', to give better results. - lift is now applied non linear (was being added to the color) - change the color wheel to preserve the luminance of the gamma and gain values, this stops the color from being set too dark (option for the color wheel template). - sub-pixel precission for the color wheel since the white area at the center can make a lot of difference with a very small change. This change will make existing node and sequencer setups lift render slighly differently however discussed this with Ton and he's ok with it.
2010-07-04Fix for [#22714] Constraints stack : move up and move down buttons problemThomas Dinges
* Constraint template now uses 2 rows as well, when the area width is small. * UI Code could use some code/layout cleanup still, will look into that soon.
2010-06-27- changed recent commit from William to have enum in user preferences as an ↵Campbell Barton
expanded enum (like it was before) - rename 'no_bg' argument to 'emboss' (and negated) - added 'emboss' option for operator buttons. - Addon UI Layout slight modifications, changed enable/disable buttons for checkbox, grey out text of disabled addons to make it obvious at a glance whats enabled. - column expanded enums now align text to the left. - renamed ui_item_enum_row to ui_item_enum_expand since its used for columns and rows.
2010-06-03Reworked the non-blocking reports display in the info header:Matt Ebb
* Now it displays the last report from the global list, not just from operators * Rather than disappearing when a new operator is run, it stays until it times out or a new report is added * Fun animated transitions ;) http://mke3.net/blender/devel/2.5/reports_header.mov Now need to investigate report usage with popups. Ideally we can have most reports non-blocking, so they're less intrusive, only popping up for dire errors. Problem is many things in Blender right now are marked as RPT_ERROR when probably RPT_WARNING is more appropriate. Should probably keep RPT_ERROR for things that demand immediate attention.
2010-04-06Patch [#21750] Add luma waveform and vectorscope to image viewMatt Ebb
by Xavier Thomas This adds the waveform monitor and vectorscope to the image editor 'scopes' region, bringing it inline (plus a bit more) with sequence editor functionality, and a big step closer to the end goal of unifying the display code for image/ comp/sequence editor. It's non-intrusive, using the same code paths as the histogram. There's still room for more tweaks - I modified the original patch, changing the openGL immediate mode drawing of the waveform display to vertex arrays for speed optimisation. Xavier can look at doing this for the vectorscope now too. Thanks very much Xavier!
2010-03-24remove unused includes UI_*.h, WM_*.h, ED_*.hCampbell Barton
2010-03-24remove unused rna includesCampbell Barton
2010-03-23rna/py-api fix.Brecht Van Lommel
C functions and python used different argument order, this relied on mapping non-keyword arguments to 'REQUIRED' arguments but meant that you could not have an optional, non-keyword argument. next commit will make order of arguments consistant (currently only changed order that rna wrapped). (commit 27674 and 27683 by Campbell from render25 branch)
2010-03-23rna/py-api fix.Brecht Van Lommel
C functions and python used different argument order, this relied on mapping non-keyword arguments to 'REQUIRED' arguments but meant that you could not have an optional, non-keyword argument. next commit will make order of arguments consistant (currently only changed order that rna wrapped). (commit 27674 by Campbell from render25 branch)
2010-03-21Fix syntax for ID keyword.Guillermo S. Romero
2010-03-02Info Header: Non-blocking Info MessagesJoshua Leung
Reports (i.e. 'info' or 'errors') are now shown in the info header in place of the scene statistics if the last executed operator had some, with this info disappearing again once another operator is run (to show scene statistics again). For example, this means that info such as the the number of verts merged, or whether a Keying Set successfully inserted keyframes, etc. is now shown again somewhere, and that this is done in a non-blocking manner. The current implementation is still a bit crude (i.e. lacking fancy polish), but is at least barebones functional. The todos... * When more than 1 report message is generated by the last operator, there is currently a display of the number of reports. In future, it would be nice to be able to add a button beside this or make the label clickable with appropriate text indicating this (commented out atm) to show popup menu of all the reports... * There could probably be some kind of coloured backdrop behind the text. Currently using standard box, but that has padding problems, and lacks visual interest. * Timer based fade out/disappear?
2010-02-12correct fsf addressCampbell Barton
2010-02-11batch remove .'s used with RNA_def_struct_ui_textCampbell Barton
2010-01-27Fixes to Color Balance node:Matt Ebb
* The Lift/Gamma/Gain formula previously was incorrect, fixed this and removed conversions - now the RNA values are the same as what goes into the formula. * Because of this, added the ability for the Value slider to map to a wider range than 0.0-1.0. The black/white gradient remains the same, in this case just indicating darker/brighter rather than absolute colour values. Also added ability for color wheels to be locked at full brightness (useful for this case, where the color value itself is dark). * Added an alternate formula - offset/power/slope (asc-cdl). This fits the standard Color Decision List formula, here for compatibility with other systems, though default Lift/Gamma/Gain is easier to use and gives nicer results.
2010-01-25Added simplification back for quicker preview renders with less subdivisionBrecht Van Lommel
levels, child particles, and shadow/SSS/AO quality.. Now also works on what is displayed in the 3d view instead of only rendering, see panel in the scene properties. Most file changes were to make scene available in the isDisabled modifier callback function.
2010-01-20Fix [#20602] Cluttered UI in modifiersMatt Ebb
Split modifier header on two lines only if available space is low
2010-01-19Finished some work from the weekend to keep local tree clean..Matt Ebb
* Added a generic 'histogram' ui control, currently available in new image editor 'scopes' region (shortcut P). Shows the histogram of the currently viewed image. It's a baby step in unifying the functionality and code from the sequence editor, so eventually we can migrate the sequence preview to the image editor too, like compositor. Still a couple of rough edges to tweak, regarding when it updates. Also would be very nice to have this region as a partially transparent overlapping region...
2010-01-07Color Picker work:Matt Ebb
Restored the old Eyedropper tool from the 2.4 colour picker. Now it's an operator, working nicely using rna properties (fixes #19475 and some todo items) This ended up being a bit more work than expected, it involved converting the colour picker to use RNA properties directly, rather than temporary values. This has several advantages, including being able to type in RGB values greater than 1, however there are still some redraw issues with sliders. Also removed the alternate color pickers after this time spent testing, the current one should be sufficient, or alternatives to the wheel can possibly become preferences in the current design. Converting the picker to RNA also made it very trivial to make a cool new ColorWheel template, which can be embedded in UI layouts. I've enabled it already in texture/vertex paint brush properties and the sequence editor color correction: http://mke3.net/blender/devel/2.5/colorwheels.jpg
2010-01-04Fix: curve reset for brushes now gives proper smooth curve as default,Brecht Van Lommel
also moved brush curve presets code into curvemapping code.