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-08-11unlocking outliner.c and removing... (merging refactor from pepper but looks ↵Campbell Barton
like this will take a few steps)
2011-07-07Tiny tweak: hierarchy lines in outliner were nearly invisible. Color isTon Roosendaal
blend between backdrop and text color (black), made it blend 0.4 instead of 0.2
2011-07-04Updated the indent, sorry!Jeroen Bakker
2011-07-04Current situationJeroen Bakker
A mesh can consist out of multiple material. Take a character with clothing's. the skin can be a different material as the different clothing's. During compositing it is a common use-case to only do a part of the composit on only a specific material. Currently this can not be done. In blender movies this feature is known to be implemented, but until now it never got integrated into trunk. Proposal With material index the Blender internal renderer will be capable of creating a buffer containing the material indexes of the first pixel-hit. This will be implemented in the same manner as the object index. In the compositor the ID Mask node can be used to extract the information out of the Render pass. Impact User interface On the properties-space the next changes will be done Scene⇒Render layer⇒Passes⇒Material index will be added Material⇒Options⇒Pass index will be added DNA Material struct will get an new field called “index”. this will be a short-type. Material struct the field pad will be removed. A new Render-layer pass will be added (bit 1«18) RNA Material RNA is updated (based on “pass index” from object) Render layer RNA is updated (based on IndexOB) Blender internal renderer The Blender internal renderer will process the render pass as a copy of the Object index. Blender compositor The render layer input will get a new output socket called “IndexMA” Usage An example on how to use material index can be found at: https://svn.blender.org/svnroot/bf-blender/trunk/lib/tests/compositing/composite_materialindex.blend This is also example of a commit message longer than the commit itself :)
2011-06-211 pixel tweak to have outliner icons + selection circles alignTon Roosendaal
for default DPI. Problem now is that icons/text are scaling and drawing with pixel units, whilst other items draw subpixel. This makes not every dpi size result in perfect aligning yet.
2011-06-16Small todo item: outliner display actions were sending undo pushes, not neededTon Roosendaal
for UI stuff.
2011-06-09add includes for windows.Campbell Barton
2011-06-09replace log() calls with constantsCampbell Barton
2011-06-062.5 todo:Ton Roosendaal
User setting "DPI" now works for outliner too. (todo: color picker, brush menu, nodes, fileselect path buttons, view2d sliders, ...)
2011-05-20edit gp_stroke_convertcoords not to modify the mval passed to it & make some ↵Campbell Barton
mval args const elsewhere too.
2011-05-20use event->mval rather then subtracting ar->winrct.x / y from event->x / yCampbell Barton
2011-05-08comment some unused code.Campbell Barton
2011-04-21converted more mixed tab/space indentations to tabs. only whitespace changes.Campbell Barton
2011-04-20Bugfix #27026Ton Roosendaal
Outliner objects showed "active" or "selected" in confusing ways. Now the display is simply binary, and more in line with how other items in outliner draw: - text is white = item is active - color circle behind icon: shows selection state
2011-04-19patch [#26978] Minor Spelling Mistakes in Editor OperatorsCampbell Barton
+ some errors I noticed.
2011-04-19Some strings to store ID names were too small, could cause stack corruption.Campbell Barton
corrected these and replaced 'sizeof(((ID *)NULL)->name)-2' with 'MAX_ID_NAME-2'.
2011-03-05use NULL rather then 0 for pointer assignments & comparison, modifier, imbuf ↵Campbell Barton
& editors.
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-27== UI icons ==Andrea Weikert
* Change ICON_NULL --> ICON_NONE to avoid two #defines with the same meaning.
2011-02-27pedantic warning cleanup, also remove texspace_edit() since its been added ↵Campbell Barton
using a different method.
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-18Clear some compiler warnings by commenting some functions, adding others to ↵Campbell Barton
headers. left in warnings where functions obviously need to get ported to 2.5x still. Also, render stamp seq strip works again.
2011-02-14made most variables which are only used in a single file and not defined in ↵Campbell Barton
header static for blenlib, blenkernel and editors.
2011-02-13Related to #26061: Camera does not appear selected in outliner when it isSergey Sharybin
Draw higlighting circle for active camera in outliner
2011-02-08minor edits, no functional changes.Campbell Barton
- BGE was getting MCol array and not using it. - use list lookup functions for getting constraint from pose bone. - use const char * in more places.
2011-01-30Bugfix #25859Ton Roosendaal
Outliner: click on 'restrict' options also selected/deselected the item itself. Fix provided by Alexander Kuznetsov. Thanks!
2011-01-26Bugfix #25756Ton Roosendaal
Outliner was drawing icons sometimes blurred. Happens when subpixel positions vary. UI code doesn't suffer this, it makes own ortho for it. This fix re-uses an un-used v2d flag (V2D_PIXELOFS_X) to force a 2d view on pixel exact positions. It's set for outliner only, I need testing feedback first.
2011-01-21- Bugfix: NLA "duplicate" operator now lets strips get moved betweenJoshua Leung
tracks too, instead of only sliding around on the track they were defined on. - Adding description fields for many (older) operators that lacked them
2011-01-17misc maintenance changesCampbell Barton
- metaball tessellation functuion was calculating density when it didn't need to. - image drawing was using a float as a loop counter, in extreme cases this could cause an infinite loop. - remove/comment unused vars.
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.
2011-01-08Todo items:Ton Roosendaal
- Outliner: new scroll operator, PageUp PageDown scroll entire page now. - 2D views (like buttons) PageUp PageDown now also scroll entire page. (they used same step as scrollwheel before)
2011-01-07split BKE_utildefines.h, now it only has blender specific defines like GS() ↵Campbell Barton
MAKE_ID, FILE_MAXDIR, moved the generic defines to BLI_utildefines.h. no functional changes.
2011-01-05Bugfix, irc report:Ton Roosendaal
Outliner: using the object-data icons to enter editmode, didn't reset the toolbar Operator redo. It was not using an operator call here. Note to self: more outliner tools don't... Error was that operator-redo then would repeat an action incorrect.
2011-01-04- use BKE_keyingset_free_path where paths were being freed inline.Campbell Barton
- rna_path was being freed when null, printing errors.
2010-12-28Drivers Code Cleanups and UI Tweaks:Joshua Leung
- Adding drivers from the UI (not from py-scripts though) will now automatically add a "Transform Channel" driver variable to the newly created drivers. This makes setting up drivers a bit more convenient for the most commonly used case. - Drivers now report their errors using the Reports system instead of writing these directly to the console. - Clarified some comments to be more insightful about the "why's" of some design decisions, and related formatting/cleanup tweaks - Reduced scope of "path" vars to just the scope they're required in - Removed some unused defines from a failed experiment in the original Keying Sets code ("templates" and "template flags") which was superseeded by the more flexible + nicer "Builtin KeyingSets"
2010-12-23use ICON_NULL define rather then 0, makes UI calls less confusing. (no ↵Campbell Barton
functional change) eg: uiItemR(row, &dvar_ptr, "type", 0, "", 0); -> uiItemR(row, &dvar_ptr, "type", 0, "", ICON_NULL);
2010-12-20Bugfix #25313Ton Roosendaal
Outliner "show active" now also works for elements hidden in closed items. (Coordinates were not set)
2010-12-20fix [#25313] Outliner View Active only works once icon has been shown in view.Campbell Barton
also disable UNDO and REGISTER flags for OUTLINER_OT_show_active() since its just scrolling the view.
2010-12-08Bugfix #25099Ton Roosendaal
Outliner: group view: restrict buttons should be disabled in editmode.
2010-12-08Changed armature active bone so it is separate from selection this is ↵Campbell Barton
consistent with active object, mesh editmode, curves & metaballs. - active is no longer assumed to be selected. this fixes a simple bug - eg: Adding a new armature, entering pose mode and toggling selection failed. - outliner editbone selection now works like object and pose mode. - mouse selection sets the bone active even when the tip is selected. - active, unselected bones draw as wire color with a 15% tint of the selected color.
2010-12-07bugfix [#25074] visible, selectable and render toggles in outliner not availableCampbell Barton
outliner added UI buttons which exceeded the range of a short, use ints for x/y button positioning.
2010-12-05Dependency graph: changed DAG_id_flush_update to DAG_id_tag_update. Now itBrecht Van Lommel
only tags the ID and does the actual flush/update delayed, before the next redraw. For objects the update was already delayed, just flushing wasn't yet. This should help performance in python and animation editors, by making calls to RNA property update quicker. Still need to add calls in a few places where this was previously avoided due to bad performance.
2010-12-05use constant strings for outliner menus rather then sprint'ing them together.Campbell Barton
2010-12-03Enabled GCC -Wwrite-strings warning for CMake and replaced many 'char's for ↵Campbell Barton
'const char's,. Only one functional change where Transform orientations passed "" to BIF_createTransformOrientation() which could then have the value written into.
2010-12-03- added GCC warning -Wstrict-prototypesCampbell Barton
- fixed bug in paste material, exposed by stricter warnings. - removed/renamed various shadowed vars. - removed BGE lamp.colour, only allow lamp.color attribute.
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-07- avoid loop within loop for unique naming function (even though it wasnt ↵Campbell Barton
likely to run often). - off by 1 error with outliner naming length. was 1 too short.
2010-11-05tedious string copying changesCampbell Barton
- use sizeof() in more places. - fixed some off by 1 bugs copying strings. setting curve font family for instance was 1 char too short. - replace strncpy and strcpy with BLI_strncpy
2010-11-03fix [#24499] Consistency Issue with LassoSelect/ExtendOptionCampbell Barton
Added extend option to lasso. also... - selecting bones wasn't checking their layer of if they were hidden in a number of places. - fixed memory leak. small unrealed changes - added PBONE_VISIBLE macro - renamed functions used for paint selectoin from *_tface to paintface_*. sine they no longer have anything todo with tface's. - removed scanfill include from BLI_blenlib.h, this is only used in very few places and quite specific. Noticed lasso select is broken for metaballs and face mask mode but this has been the case for a while, will look into it next.
2010-10-18remove G.sce, use G.main->name instead.Campbell Barton
Both stored the filename of the blend file, but G.sce stored the last opened file. This will make blender act differently in some cases since a relative path to the last opened file will no longer resolve (which is correct IMHO since that file isnt open and the path might not even be valid anymore). Tested linking with durian files and rendering to relative paths when no files is loaded however we may need to have some operators give an error if they are used on the default startup.blend.