c2140d28c1- Fixed flipped orientation of getViewViewvector(), was opposite in ortho versus perspective. Note for Martin; still an issue with defining what positive/negative rotation is in perspective... needs more math here! - Added Transform Widgets for PoseMode - made adding bones in EditMode setting G.moving, so it doesn't draw other selected objects nor Widgets
Ton Roosendaal
2005-03-20 09:45:54 +00:00
836d576730Adding some docs for Object insertIpoKey additions
Johnny Matthews
2005-03-20 03:50:56 +00:00
66b8984cd8Adding some docs for Text3d additions
Johnny Matthews
2005-03-20 03:42:04 +00:00
e65b0beea8Ton broke a couple of things in his last commit including PET in rotation mode and local axis constraints on objects. Bringing that back and enabling PET in trackball rotate.
Martin Poirier
2005-03-20 02:00:16 +00:00
0d2179774dNew Bpy Object method: insertIpoKey() inserts Object IPO key for LOC, ROT, SIZE, LOCROT, or LOCROTSIZE Contributed by Johnny Matthews (guitarGeek)
Stephen Swaney
2005-03-19 23:47:39 +00:00
52417aeb6e- added helper lines in rotation widget - switched to Local mode for widgets by default, will be a key/button later
Ton Roosendaal
2005-03-19 22:03:14 +00:00
c0ebb826fafix warning: initialization makes integer from pointer without a cast
Stephen Swaney
2005-03-19 21:28:40 +00:00
8e92ee8684- remove all obsolete inclusions of BLI_winstuff.h (due to recent changes)
Daniel Dunbar
2005-03-19 21:08:13 +00:00
f74662dcc1- add some windows specific defines to BIF_gl.h so that OpenGL can be used without including windows.h - this is the main reason windows.h is included in so many places and this change allows most of those inclusions to die.
Daniel Dunbar
2005-03-19 20:48:39 +00:00
35ab8a32a1Global G.moving got nice define flags, and additional meaning.
Ton Roosendaal
2005-03-19 20:27:13 +00:00
0542e1ebe3- part of BLI_winstuff.h cleanup
Daniel Dunbar
2005-03-19 20:19:10 +00:00
b3bb3f06baSome cleaning up of BLI_winstuff.h usage - removed reference in render.h (really bad, shouldn't include a platform specific header so widely unless really necessary) - added M_PI, M_PI_2, M_SQRT, M_SQRT_2 defines to BLI_arithb.h... this is a better place as it is more the "standard" blender math header. left in winstuff.h as well for the moment for simplicity - other changes are patches to code so everything works ok with this shuffling.
Daniel Dunbar
2005-03-19 20:04:25 +00:00
c8d6515ad7Little fix; while Transform() in editmode, and other objects were select, these objects were drawn in transform color (white usually)
Ton Roosendaal
2005-03-19 20:00:23 +00:00
e07f2f1226New version of rotate handlers. I like it! Now the rest of you ;)
Ton Roosendaal
2005-03-19 18:54:45 +00:00
dd17f7e725BPython: - Added Blender.Run(script) + doc update (forgot to mention in my previous commit).
Willian Padovani Germano
2005-03-19 18:23:05 +00:00
0d1738e285Fix for building on win32
Johnny Matthews
2005-03-19 17:15:25 +00:00
1ec0238bd6Added transform_manipulator.c to the windows MSVC 6.0 projectfile
Roel Spruit
2005-03-19 14:13:45 +00:00
c87eb1d628Added curly braces around an #ifdef NEWTRANSFORM. Needed when NEWTRANSFORM was not defined.
Stephen Swaney
2005-03-19 13:26:03 +00:00
a2ed880c9fTransform widgets; Scale and Rotate versions
Ton Roosendaal
2005-03-19 12:17:06 +00:00
cbbe236f92- patch submitted by guitargeek -includes: *Text3d accessors - ablity to manipulate FONT objects through python *update to Object.link - calls text_to_curve upon ob_font link for drawing *update to constant.h - constant type checking define *update to curve.c - clamp values on getters/setters *clean up of Text3d module
Joseph Gilbert
2005-03-19 03:24:00 +00:00
f61c5b1eec- adds /GR to compiler options for generating run time type info for c++ classes in the debug release - add support for new transform files
Joseph Gilbert
2005-03-18 16:12:17 +00:00
f08504c525Individual Element (object) center for Rotate and Resize. Note that using this in edit mode is a bit useless right now, but we have some surprises in our bozo bin :P
Martin Poirier
2005-03-18 15:08:02 +00:00
ecdf0d3412Forgot to cvs add a file! Also did the SConscript file.
Ton Roosendaal
2005-03-17 21:46:05 +00:00
17bd00a851So! Finally a show-off of the *power* of Martin P's work! :)
Ton Roosendaal
2005-03-17 21:31:49 +00:00
ab21276aaffixed example of use the GetScreenInfo .
Joilnen Leite
2005-03-17 14:41:36 +00:00
38dff43877Needed to normalise the axis orientation matrix. This fixed the scaling bug intrr and LetterRip reported.
Martin Poirier
2005-03-17 13:55:48 +00:00
5a382e094fAck, typo in previous commit, bugfix for confusing edge selection. Passed a face pointer to edge function... tsk tsk!
Ton Roosendaal
2005-03-17 12:01:07 +00:00
9a30f56937Trying a little something with the MMB behavior.
Martin Poirier
2005-03-17 02:34:25 +00:00
07c26eb397Fixed constraint center calculation. Much smarter to do it when calculating transformation center...
Martin Poirier
2005-03-16 21:55:57 +00:00
1b61771d9eOptimising transformations in PET mode.
Martin Poirier
2005-03-15 17:31:46 +00:00
e9381e61aaBug fix#2320
Ton Roosendaal
2005-03-15 12:30:58 +00:00
9efe92bbaaMatrix multiplcations for Multiple Object local constraints for Resize was done backward. Didn't show in my test case because they were too crude. Fixed now. (in essence, resize with multiple selected objects and local constraint was not good)
Martin Poirier
2005-03-14 23:24:37 +00:00
3ca88c4e7fome more warnings cleaning
Jean-Luc Peurière
2005-03-14 20:10:22 +00:00
7e2e2b2370Bugfix #2324
Ton Roosendaal
2005-03-14 20:09:57 +00:00
ecf6de151cThis commit reverses the OpenEXR specific stuff in the OpenEXR commit I did last friday. A patch will be available in the patches tracker that will have the current stuff there until everything is working.
Kent Mein
2005-03-14 14:56:40 +00:00
cce74ab4d0Transform: brought back axis constraint default after extruding. When choosing 'individual faces' it uses the ShrinkFatten option.
Ton Roosendaal
2005-03-14 14:16:59 +00:00
fd4ad35d4cNew AFFECTALL flag for numinput When that flag is set, numbers typed when the cursor is on the first position will affect all positions who do not currently have something typed for them.
Martin Poirier
2005-03-13 21:42:22 +00:00
60b0e67e32Fixed edit mode armature bug reported by Gabio (transdata conversion wasn't setting data center correctly).
Martin Poirier
2005-03-13 20:17:39 +00:00
e76a63635bTransform:
Ton Roosendaal
2005-03-13 19:48:17 +00:00
8c564af147A little editing on the doc for the newest member of our Bpy module familily: Text3d.
Stephen Swaney
2005-03-13 13:17:59 +00:00
7d520a16c4Made warp use TransData members instead of G.obedit. Made it work with PET and Objects at the same time.
Martin Poirier
2005-03-13 02:15:32 +00:00
597cbb1b4fLocal axis with multiple objects wasn't working for Scaling.
Martin Poirier
2005-03-12 23:15:26 +00:00
8f47841536NumInput is now applied correctly to constraints and prints correctly in the header.
Martin Poirier
2005-03-12 20:34:02 +00:00
48b4329170*sigh* I obviously rushed this. I honestly thought that this commit would not affect anyone.
Kent Mein
2005-03-12 16:32:32 +00:00
d3202c5fccAdded a #ifdef WITH_OPENEXR around this entire file. It doesn't compile for Makefiles otherwise...
Ton Roosendaal
2005-03-12 13:37:05 +00:00
4aeaa7a7a2doc about set/getDupliVerts method .
Joilnen Leite
2005-03-12 12:31:33 +00:00
1f284bb583Bug fix as reported by Fish-Face/Chris Le Sueur on IRC
Ton Roosendaal
2005-03-12 12:10:07 +00:00
f8a8f355b5- made makesdna print how many bytes of padding should be added in a struct on alignment errors, simplifies fixing.
Daniel Dunbar
2005-03-11 21:20:33 +00:00
18c01053cb- dna_error wasn't set on two errors in makesdna, allowed bad compilation
Daniel Dunbar
2005-03-11 21:15:20 +00:00
a1919e6db4Gernot Ziegler's patch to add OpenEXR support to blender.
Kent Mein
2005-03-11 20:16:14 +00:00
c6d5124560Bug fix 2301
Ton Roosendaal
2005-03-11 18:55:09 +00:00
8129e55940It's fun to set flags correctly and not have everything crash down on you.
Martin Poirier
2005-03-11 18:48:14 +00:00
409e0a5c82Bug fix 2309
Ton Roosendaal
2005-03-11 18:24:15 +00:00
7a0e2a012cFound some messed up code that assumed abgr instead of rgba In IMB_gamwarp which is used by the blur sequence plugin. It should be fixed now. Also fixes a warning with gcc.
Kent Mein
2005-03-11 13:00:31 +00:00
3bc2ae130dIMPORTANT NOTE: Locking axis (planar constraints) now works with ALT instead of CTRL. Ctrl might have caused problems in the long run, with people holding down ctrl for precision and then having to release it so to press an axis key if they don't want to lock it.
Martin Poirier
2005-03-11 01:33:43 +00:00
cce375fa92Bugfix 2062
Ton Roosendaal
2005-03-10 20:29:28 +00:00
d9e320b270MSVC 6.0 Projectfile addition (include path) to compile after the big warning hunt commit.
Martin Poirier
2005-03-09 23:29:19 +00:00
cd3b11f41e- Added more space in icons image (blenderbuttons.png) It now only uses 1 extra row of 21 buttons. More can simply be added - Added new icons for the new proportional edit options Root, Linear and Constant - Made sure pulldown and pop-up menu work for new prop options
Ton Roosendaal
2005-03-09 21:10:30 +00:00
eab9fc4c0bUpgraded buttons image
Ton Roosendaal
2005-03-09 21:04:09 +00:00
c78e44cdc5big warning hunt commit lot of casts, added prototypes, missing includes and some true errors
Jean-Luc Peurière
2005-03-09 19:45:59 +00:00
77d44e88e9Transform project; restored "auto key" after transform. It now inserts always loc/rot/size ipos. The old method had a quite questionable heuristic for detecting what changed, not sure if we want it back.
Ton Roosendaal
2005-03-09 19:32:23 +00:00
3e5200f1db- Restored 'align mode', which allows rotate/scale with only object centers - commented out debug prints from theeth :)
Ton Roosendaal
2005-03-09 16:58:42 +00:00
7968cf078edoc about Text3d module .
Joilnen Leite
2005-03-09 02:06:35 +00:00
0cb8cac4d3- replaced min() by MIN2() and max() by MAX2()... my bad.
Daniel Dunbar
2005-03-08 19:31:16 +00:00
5936870006Bug fix#2296 - Background image would jitter around on ATI card when zoomed in too far. It appears that the driver is was multiplying the image width by the zoom factor at some point and clamping this number, before clipping the visible image. Somehow this then fed back in to clipping the zoom factor.
Daniel Dunbar
2005-03-08 19:27:58 +00:00
af092210db- switch draW_bgpic to calculate window coordinates as floats, smoother zooming of background pic now.
Daniel Dunbar
2005-03-08 19:18:40 +00:00
a26d91fddf- replaced call to project_short_noclip with direct implementation because project_short_noclip doesn't do the calculation if the value would be near-clipped. For background picture we don't care about this.
Daniel Dunbar
2005-03-08 18:58:27 +00:00
8eef3cfd9cNew transform project;
Ton Roosendaal
2005-03-08 17:29:33 +00:00
81ea38cd10+ Local axis constraint for multiple object selection works with resize and rotate (the easiest).
Martin Poirier
2005-03-08 03:51:45 +00:00
03b70c9bf5Changed a CRTL dependency for the debug build which generates a linker warning about missing output file which forces a full incremental link.
Joseph Gilbert
2005-03-07 16:32:17 +00:00
23eb4780bfTooltips for new marble buttons were from a copy/paste operation. This caused error with... well... tooltips. ;) First commit!
Chris Burt
2005-03-07 15:26:32 +00:00
9e52a14894Solves a build problem with MSVC scons build. Thanks kaito for pointing out the Black box of BLI_winstuff
Johnny Matthews
2005-03-07 14:48:13 +00:00
d6f6d13f3aBug fix#2292
Ton Roosendaal
2005-03-07 12:41:23 +00:00
fb94fcd4e7Patch provided by Chris Burt;
Ton Roosendaal
2005-03-07 11:01:43 +00:00
a1f97a01e4fix warnings about implicit declarations. overlooked by being in a hurry.
Stephen Swaney
2005-03-07 03:31:14 +00:00
7b081fe3b7Local axis constraint started. Works with edit data and in object mode with single selections (only one object selected).
Martin Poirier
2005-03-07 02:21:04 +00:00
b3b96acc73-Added Text3D module to project files
Joseph Gilbert
2005-03-07 01:17:54 +00:00
b6cb442c2aFix & further implementation of Proportional editing;
Ton Roosendaal
2005-03-06 19:25:58 +00:00
a14d5c57beAdded new bpy files to MSVC 6 project files.
Simon Clitherow
2005-03-06 16:57:17 +00:00
454041cc4fNew Bpy type Text3d for accessing Blender's Font objects. Contributed by Joilnen Leite (pidhash).
Stephen Swaney
2005-03-06 14:55:00 +00:00
c8a84be5f4Bug fix, provided by Martin Dickopp;
Ton Roosendaal
2005-03-04 22:17:52 +00:00
512aabd68eBug fix#2265
Ton Roosendaal
2005-03-04 20:20:59 +00:00
9e7c590146Bug fix#2270
Ton Roosendaal
2005-03-04 20:02:52 +00:00
611c38d0f9Bug fix#2289
Ton Roosendaal
2005-03-04 19:44:29 +00:00
c3f44c0713-msvc7 project file needs to update the /src project to include files for the new transformation code so that the linker can be happy.
Joseph Gilbert
2005-03-04 16:35:07 +00:00
a61c0d7995need to use MIN2 instead of min for compatibility with other compilers.
Martin Poirier
2005-03-04 03:52:09 +00:00
f458405069Fixed resize constraining. Was using same function as translation but this is no go for unaligned axis.
Martin Poirier
2005-03-04 00:07:16 +00:00
b2288bca09Applied correct '\\' for file paths on Windows (thanks Elubie!)
Simon Clitherow
2005-03-03 20:40:48 +00:00
894a73590fTinsy UI change in game-framing menu (X and Y resol buttons correct align) Provided by Carsten.
Ton Roosendaal
2005-03-03 20:30:18 +00:00
c48fcd1f00New menu option: When converting a subsurf or metaball to mesh, the option to delete the original is added, along with code to make it work :)
Johnny Matthews
2005-03-03 19:45:37 +00:00
58b3022b52Fixed a bug in the constraint projection code. It only worked correctly when locking the Z axis because of a malformed if clause.
Martin Poirier
2005-03-01 19:22:29 +00:00
dbce997ba1Bug #2266
Ton Roosendaal
2005-03-01 16:19:19 +00:00
a7afceb622Fixed very old annoyance;
Ton Roosendaal
2005-03-01 15:29:01 +00:00
bd874641a9Bug fix#2260
Ton Roosendaal
2005-03-01 14:03:59 +00:00
bc0ca65db8Bug fix#2248
Ton Roosendaal
2005-03-01 13:14:37 +00:00
52b84f0e69BPython: - Gert de Roost reported an inconsistency between nmesh.getMode and .setMode. Now .setMode() optionally accepts an int value, as returned by getMode(). - Campbell Barton pointed that object.getData(name_only=True) was by mistake returning the obj name, not the obdata name, as it should. Fixed now. - small doc updates
Willian Padovani Germano
2005-03-01 02:37:19 +00:00