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-05-01Style CleanupCampbell Barton
- duplicate cases in if/else - calc inside sizeof(...) - redundant NULL checks. - assignment to self. - fix error getting text prefix for screen ID button.
2011-04-29corrections for redundant null checks & transform printing a string into its ↵Campbell Barton
self.
2011-04-21pass even mouse coords value as const so its not edited, ↵Campbell Barton
view3d_get_view_aligned_coordinate() could modify the event->mval.
2011-04-21converted more mixed tab/space indentations to tabs. only whitespace changes.Campbell Barton
2011-04-21Bugfix [#27095] B-Bone doesn´t resize correctly with numeric inputJoshua Leung
B-Bone resizing was acting more like translation than resizing when using numeric input. Added the flag to set all xyz values to same value when using numeric input
2011-04-05Bugfix [#26792] blender crash when scaling action strip in NLAJoshua Leung
Two part bug: Part 1) NLA Editor menu was calling wrong operator Part 2) r35829 broke NLA scaling, since it only checked that the transform mode used was allowed in the Action Editor (probably confused by Part 1)
2011-04-03replace while loops with angle_wrap_rad()Campbell Barton
2011-03-28transform: floats were being implicitly promoted to doubles, adjust to use ↵Campbell Barton
floats. also use macros RAD2DEGF & DEG2RADF.
2011-03-28[#26622] Blender crashes when calling transform operatorMartin Poirier
Add cancellation checks for time* transforms that only run in specific spaces. Hide Transform Mode operator property (it shouldn't be modified after the operator is run), made default mode Translate, not the useless Dummy.
2011-03-22- support transform operators running in backgruond mode (was crashing)Campbell Barton
- fix for crash getting the extrude mode enum value when a non-mesh edit object was active.
2011-03-07From the OFTL:Ton Roosendaal
Arrows-move-cursor is back! It now works for any running modal operator that doesn't handle own arrow keys. Might need to become more restricted though, some modal ops don't need it. Want to investigate that still where conflicts are.
2011-03-04Bugfix #26270Ton Roosendaal
Transform started with button in Toolbar was drawing the helper line badly. This needed two fixes: - helper line now has poll() callback to check for correct region - event system needs to set 'subwinactive' for modal handlers too The latter might fix issues with cursor/overlay drawing in other cases?
2011-03-03use NULL instead of 0 for pointers, (editors)Campbell Barton
2011-03-03Bugfix [#26269] Initiating a duplication with shift D and cancellingJoshua Leung
in dope sheet/ graph editor leads to duplicated keys The old hack using the transform "undostring" didn't work anymore, as this wasn't set. Instead, I've added a special mode transform mode for this that the duplicate operators can set to get this functionality.
2011-02-27doxygen: blender/editors tagged.Nathan Letwory
2011-02-23doxygen: prevent GPL license block from being parsed as doxygen comment.Nathan Letwory
2011-02-21Fix for [#26105] Key mapped Rotate equals crash (Windows/MSVC only)Janne Karhu
* Transform info text array was too short for all cases, so some characters got written to invalid addresses.
2011-02-17clear some unused warningsCampbell Barton
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-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-12- fix leak on STL loading if realloc fails.Campbell Barton
- transform code was using sprintf reading and writing the same string (undefined behavior). - softbody had unneeded NULL check.
2011-02-07Todo/feature requestTon Roosendaal
When using masks or other simple 3D elements in composites, doing a layer re-rendering on a node is a bit clumsy all the time. This commit does two things to help: - new hotkey "Z" in node editor automatically finds render layer that changed and re-renders it + composites - option "Auto Render" does same, but then after every transform edit in 3D window The latter is experimental; real & proper system for this requires full threaded render support (like previews). But it works! Demo file: http://download.blender.org/demo/test/auto_composite.blend Important fix: After any render, all the render layers were tagged "changed", which caused any edit to first totally recomposte everthing. Now it only composites changes. Implementation notes - DAG scene flush now sets 'changed' flags in render layer nodes - Added notifier for 'transform finished' to trigger the update, this is temporarily.
2011-01-14Transform tweak:Joshua Leung
2D Editors using the standard translation transform tool no longer have their values converted. For instance, it simply didn't make much sense in such editors to be showing frame numbers/timing in terms of meters/inches.
2011-01-12remove redundant assignments & unused vars.Campbell Barton
also minor functional changes - OBJECT_OT_make_links_data() type property is now assigned to the operator property (so popup menu can find it) - removing BG image now returns cancelled if no image is removed.
2011-01-10edit to Ton's recent commit, r34177, only use the far clipping as PET max ↵Campbell Barton
when not in Ortho view.
2011-01-08Bugfix, IRC reportTon Roosendaal
Texture space transform, SHIFT+R crashed
2011-01-08Proportional editing:Ton Roosendaal
- Proportional circle size is printed in header Allows you to find out if you make it smaller when it's large - Proportional size is clipped with view3d clip-end now - Added the size to rna, so you can inspect values via UI and py.
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-06Bug fix: Ton Roosendaal
On texture-space transform, pressing Rkey crashed. Now it refuses to enter rotation mode. :)
2011-01-06Todo item:Ton Roosendaal
Auto-texture space now is more responsive and correct. - on transforming it, the buttons get redrawn to show option was reset - on enabling option, texture space is recalculated/reset
2011-01-05Todo item: brought transform texture space back.Ton Roosendaal
Code changes are minimal, re-using the code as already was there. Options are in pulldown menu, or SHIFT+T and SHIFT+ALT+T Might be that Martin likes to see it different... do we need a special operatortype for it?
2010-12-24Bugfix: (Mario Kishalmi patch)Ton Roosendaal
Edge slide bug: when multiple vertical subdivisions exist, the UVs for a slide or loopcut-slide operation were wrong.
2010-12-22Bugfix #25348Ton Roosendaal
EdgeSlide: cancel didn't refresh UVs in mesh for cancelled state. Also loopcut suffered this.
2010-12-20fix [#25283] Edge length display difficult to readCampbell Barton
- made theme colors for mesh edge len & face angle/area display. - use %g rather then %f for float display, trims unneeded zeros. - store cached 2d and 3d text color as bytes rather then floats, compare when drawing to avoid setting the context. - use unsigned char for more color functions, avoids casting to glColorubv().
2010-12-07Added an assert() check for normalized quats which exposed a number of bugs ↵Campbell Barton
where normalized quat was incorrectly assumed. This would have made bug #25003 very simple to find. - Objects had their quats normalized when calculating their matrix, this is inconstant with pose bones and isn't useful for animation. Also it wasn't normalizing the delta rotation so these would give bad rotations. - Converting between rotation modes BKE_rotMode_change_values() assumed normal length quat. changing quat to euler rotation for eg could change the bone. - Clear rotation and transform were not normalizing the quat when 4d loc was disabled on quat rotation, corrected and also made it so the quat scale is restored after conversion so animations curves dont jump. There is 1 case in mat3_to_quat_is_ok() where quat_to_mat3 on an unnormalized quat is needed, for this I had to add an ugly static function quat_to_mat3_no_assert(), but overall its worthwhile IMHO to be able to find incorrect use of rotation conversion.
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-30bugfix [#24974] "select all" in weight paint -> face selection mode selects ↵Campbell Barton
all bones instead of all faces face mask mode overrides pose mode keys. also removed function call from transform code.
2010-11-28minor changes to the python api.Campbell Barton
- pep8 script was giving an error on non utf8 scons source files. - use PyList_SET_ITEM macro when list type is ensured. - all mathutils types use subtypes to create new types when available. - use defines MAT3_UNITY, MAT4_UNITY to initialize unit matrices.
2010-11-21[#22854] Objects lag behind mouse pointer when transformed (translated)Martin Poirier
[#24652] Project vertices button showing in object mode and leads to wrong behavior. Removing soft redraw (code is still there in case we need it eventually) on mouse move, now that events are compressed.
2010-11-21[#24827] Crash when auto-keyframing while playing animationMartin Poirier
Reported by André Oliveira Need to pass valid context to autokeying callback function.
2010-11-20Cancel edge slide on invalid selection.Martin Poirier
Patch by Shane Ambler
2010-11-19patch from Shane Ambler, free memory when failing to create slide verts.Campbell Barton
2010-11-16bugfix [#24509] UV/Image Editor: selected elements move not as specifiedCampbell Barton
2010-11-14Move rotOrder to proper transform data structureMartin Poirier
2010-11-03bugfix [#24505] Python command bpy.ops.transform.rotate(...) does not follow ↵Campbell Barton
axis=(...) attribute the axis was being constantly re-initialized from the view.
2010-11-02fix for compiling with the c90 standard, support for non-static variable ↵Campbell Barton
initializers is a c99 feature.
2010-11-02Patch [#24497] Fix for [#24484] Right Ctrl for snapping by Alexander ↵Thomas Dinges
Kuznetsov. Thank you! This fixes [#24484] Right Hand Ctrl key none functional for snapping?
2010-10-31initialize structs to zero rather then using memset().Campbell Barton
2010-10-24bugfix [#21097] Rotating multiple bones with non-local location behaves ↵Campbell Barton
incorrectly. - rotation and bone scaling with Durian feature 'Local Location' would fail to correctly translate the bone because a different matrix is needed for translation and rotation.