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-02-18Bugfix #26127Ton Roosendaal
Buttons drawing of floating point values still was using 4 digits as maxumum precision. RNA definitions for float allows 7 easily.
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-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-17One more small text space usability: select work by double-click on itSergey Sharybin
- Change cursor changing from mouse press to mouse click. A bit "delayed" UI feedback, but otherwise we'll be unable to use double-click events here - Change clinebacks to callbacks in comment for select_line operator. Or it was supposed to be clinebacks?
2011-02-17Simple re-order of first/last point checking when adding point toSergey Sharybin
NURBS spline. Need to make new point be last in array. Beziers already has the same behaviour, so things would be more uniform now.
2011-02-17Split cursor_set into two operators:Sergey Sharybin
- cursor_set which just sets cursor position immediatelly - selection_set which could be used to select block of text Now there're could be operators binded to mouse double-click event
2011-02-17Spall text space usability:Sergey Sharybin
Use shift-del to cut, ctrl-ins to copy and shift-ins to paste Most of editors support this hotkeys and it's annoying when you trying to use them in text space.
2011-02-17clear some unused warningsCampbell Barton
2011-02-17OpenGL playblasts now respect Preview Range, making it easier toJoshua Leung
render out short segments of shots to be previewed with accurate timing.
2011-02-17incorrect type passed to BKE_free_animdata()Campbell Barton
2011-02-17Bugfix [#26106] No instant visual feed back for Dupliframes, parentingJoshua Leung
problem and crash - It turns out we still need the "copyob" still, if for nothing other than making sure that the unkeyed transforms can get restored. This was removed originally as I thought that just reevaluating the animation would work. - Removed a buggy line of logic that was causing crashes when there was no animation data. It's better to just assume that if animation data exists, that something exists there. - Make Duplicates Real was not clearing data such as the new animation data or constraints.
2011-02-16Bugfix #26096Ton Roosendaal
Switching layers reveiled hidden objects in wrong positions, changes are currently not being handled for hidden objects. Only way to fix it is by completely update newly visible objects... (Also fixed a typo and a compile warning)
2011-02-16sphinx doc gen: multiple examples possible and include the scripts docstring ↵Campbell Barton
inline in sphinx. also tag unused vars
2011-02-16Marker Drawing Bugfix:Joshua Leung
Removed superfluous blend-mode change which was causing some weird white lines to appear, especially when using some markers that don't have any names.
2011-02-16Forgot to actually hook up this operator...Joshua Leung
2011-02-16Particle settings can now be pinned too:Janne Karhu
* Particle system's are comparable to texture slots, which can only exist within an id block. Particle settings on the other hand are idblocks which should be pinnable just like textures. * When particle settings are pinned only properties that make sense without the actual particle system are shown in the particle panel.
2011-02-16PoseLib Bugfixes, Cleanups, and Missing OperatorsJoshua Leung
* All the various index-related issues should finally be sorted now. It seems you cannot just partially implement some of these active index getter/setters... * Standardised the call used by PoseLib operators to get the Object from which they get the active PoseLib data from * PoseLib operators which require some existing data to work now use a poll() which checks for this * Added back the operator used to make standard actions into ones usable by PoseLib * Added a dummy operator for the apply active pose button which really just calls the same backend functions as "Browse Interactive", but which has a nicer frontend (naming + description) for the purpose of being used in this way * Also, removed some useless code from here
2011-02-16Fix for compiler warning: forgot to hook up a poll callback I definedJoshua Leung
for unlinking PoseLib data
2011-02-16PoseLib UI and Bugfixes:Joshua Leung
- Added operator button to show the current pose. This runs on top of the interactive pose browse functionality, so the tooltip may be a bit obtuse... - Specifying a pose for the Pose browse functionality to set now works correctly. Previously, some old depsgraph hacks were actually interferring with correct updating (only the armature updated correctly, but deforms didn't occur) - Fixed a case of accessing freed memory, which I'm surprised no static checkers have reportedly picked up on yet, or that nobody has really had issues with (probably due to low memory "turnaround" so far)
2011-02-16Pose Lib: Start of PoseLib UI in Armature buttonsJoshua Leung
This presents a UI from which PoseLibs can be assigned/removed from Objects. From here, it is also possible to see the list of poses and add/remove poses from this list. Known Issues: - [Py/RNA/Operators BUG ALERT!] If after immediately starting Blender you try to remove a pose from the PoseLib using the UI buttons, you'll get a an error the first time you do so (but not for subsequent attempts). This seems to be caused by the "pose" enum (dynamically generated) of the POSELIB_OT_pose_remove operator, which does not seem to be getting initialised when the operator's exec gets called without the invoke having been called previously - Changing the active Pose Library still seems to be broken (to be fixed soon) Todos: - Operator button to make the selected pose get shown in the 3d view - Restore the "validate action" operator and add that to this panel - Rename pose access
2011-02-15- Do not use old anchor toggling operator. It used to set brush flags toSergey Sharybin
unawaliable state. - Also changed dynamic space bar menu, so it now also wouldn't allow to set brush stroke flags to unavaliable state. Also tried to remove use_anchor, use_space, use_restore_mesh and use_airbrush, so user would be unable to set flags to unavaliable state, but it was quite difficult for non-sculpt paint modes. They don't support all of stroke methods, so brush.stroke_method can't be used for them. Keep this area unchanged for now.
2011-02-15- Use the same logic as for BEZIERs when making segment of betweenSergey Sharybin
first and last NURBS' control points (toggle cyclic flag) - Show U/V selection menu only for surface objects. There's no much logic in asking U/V direction for simple curves. - Set active spline when two segments were joined.
2011-02-15Fix #26087: in a curve, can't make segment if Fkey was pressed 2 times ↵Sergey Sharybin
before on a single vertex - Disallow setting cyclic flag for single-point segment when this lonely segment is selected - Clear cyclic flag for single-pointed segments when finding segments which can be merged
2011-02-15moving dir strings into global namespace for doc access (coming up)Campbell Barton
2011-02-15PoseLib: Adding support for custom propertiesJoshua Leung
Custom properties are now supported by Pose Library. They will get saved and restored correctly during previewing and pose adding. To do this, I've changed PoseLib over from using the "LocRotScale" Builtin Keying Set to the "Whole Character" one instead. One consequence of this, is that now entire poses are stored in the Pose Lib, irrespective of whether you only selected part of a pose to store (i.e. facial controls only, or hand poses only). If this is enough of a problem, I'll make a second Keying Set that does take selections into account, and use that here instead.
2011-02-15fix for own error with image info display, also dont draw if the mouse is ↵Campbell Barton
outside the image.
2011-02-15UI Tweaks: Text field in Rename Markers popup now gets focus when theJoshua Leung
popup appears, saving an extra click I've separated out the "XXX"-'d event-adding-hack section from the search-menu code into a separate API function (as recommended there). This call is used to make sure that textboxes in popups can get activated by default, to allow typing immediately.
2011-02-15Ctrl-0 can now be used to just reset a single component of an array toJoshua Leung
its default value instead of resetting the entire array
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-14Fix #26082: Fkey in a curve witch was empty beforeSergey Sharybin
Stupid error in own previous commit to addvert_Nurb -- empty spline had been added to spline list.
2011-02-14Bug fix #26021Ton Roosendaal
Very nasty UI code issue: since every button is re-defined on a redraw, having UI redraws while using a button was not possible. This was solved long ago by copying over data from previous button. However, this fails when buttons have callbacks with its own (or a parent button) pointer. This bug reporter found crashes in draw-overlap UI mode, this draws entire UI over for every menu redraws, making previous button pointers invalid. (for triple buffer, the UI is not redrawn, only the menus). In general: all systems falling back to old swapbuffers would have suffered some instability because of this. Fix is that now the old button gets lifted out from the previous list and inserted in the new list. Works fine, but needs some tests! Also in this commit: TIFF endian switching not needed for 16 bits tiff.
2011-02-14Previous commit to small optimization of sculpting broke smooth and layerSergey Sharybin
brushes. They aren't using proxies, so deformation wouldn't be propagated in sculpt_combine_proxies(). So, maye idea of getting rid of "extra" memory allocaiton/disposing was not such cool due to it lead to such exception ways?
2011-02-14First modifiers with deformMatrices callback used to be applied twice whenSergey Sharybin
building crazytspace. Not sure why this worked.
2011-02-14Active spline number should also be stored/restored by undo stack.Sergey Sharybin
It could point to nowhere otherwise.
2011-02-14misc small changes:Campbell Barton
- rename rna collection structs Main prefix to BlendData: eg, MainObjects --> BlendDataObjects - printing python collection now prints its type (when available) - renamed shadowed vars in bpy_rna.c. - when making functions static I also made debugging/test functions static, reverse and add definitions to headers instead.
2011-02-14Forgot NLA Editor support for this...Joshua Leung
2011-02-14Graph Editor part of the changes in the previous commit...Joshua Leung
2011-02-14DopeSheet: Add menu entries and hotkeys to select all keyframesJoshua Leung
left/right to current frame in dope sheet This commit separates out this selection functionality out of the click-selection operator into a separate operator, so that hotkeys and menu entries can be assigned to it. This is based on an idea+patch (#23738) submitted by Torsten Rupp (rupp), though I've ultimately decided not to go with the suggested implementation as I don't think this fits that well under the "column" select operator. Todo: Graph Editor support will be coming shortly...
2011-02-13Fix #26072: ctrl+LMB on an empty curve make Blender crashSergey Sharybin
Crash was caused by keeping active segment index even when this segment had been deleted. Fixed this and also changed behaviour of creating new CV for case nothing is selected: new segment with BEZIER type would be created.
2011-02-13warning cleanup.Campbell Barton
- fix mistake with grease pencil UI (&& was intended but & used). - use (void) rather then () across _all_ blenders code. - a few minor edits, don't shadow stack variables in roll calculation & avoid running memset() for VBO vertex map.
2011-02-13many functions in blender are not marked static but should be.Campbell Barton
most local modifier,GPU,ImBuf and Interface functions are now static. also fixed an error were the fluid modifier definition and the header didnt have the same number of args.
2011-02-13corrected error from commit r34810.Campbell Barton
2011-02-13Some more fixes for particle textures:Janne Karhu
* Moving a texture slot didn't keep the moved slot active. * Copy & paste for particle textures didn't work. * New textures weren't freed properly.
2011-02-13Added an operator warning for missing material & texture in response to ↵Janne Karhu
[#26051] "Noise" not working.
2011-02-13fix for warnings from Sparse static source code checker, mostly BKE/BLI and ↵Campbell Barton
python functions. - use NULL rather then 0 where possible (makes code & function calls more readable IMHO). - set static variables and functions (exposed some unused vars/funcs). - use func(void) rather then func() for definitions.
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-13Fix #26059: select_vertex_path fails when vertices aren't selected 1 by 1 in guiSergey Sharybin
Cicrcle and border selection doesn't add entry to EditSelection. Use cycle through vertices rather than EditSelection stack to find two selected vertices. No slowdown for case two vertices are selected (use this cycle to clear temporary flag too), minor slowdown for unsupported selections.
2011-02-13enforce string limits (reported by pedantic checking tools & some developers).Campbell Barton
mostly replace strcpy with BLI_strncpy and multiple strcat's with a BLI_snprintf(). also fix possible crash if CWD isnt available.
2011-02-13wrong length used with strncmp when comparing RNA path.Campbell Barton
2011-02-12Sculpting on deformed meshSergey Sharybin
========================== Removed limitation of armatured-only objects for sculpting -- now all deformation modifiers are allowed in sculpt mode. Use crazyspace corrections like from transformation modules was used to support all deformation modifiers. Internal change: all crazyspace-related functions were noved to crazyspace.c P.S. Brush could make quite unexpected deformation for meshes which are deformed in specified way. Got patch for this and discussing with Brecht if it's really needed or maybe it could be done in better way.