6c62b0d8b7Part of Big Cleanup: move data declarations out of header files. BGL.[ch] work done by Joilnen Leite (pidhash). Thanks!
Stephen Swaney
2005-02-27 20:07:26 +00:00
cfd5439bc6Fixed Constraint projection code in perspective mode. When using a planar constraints, it follows the movement of the mouse exactly instead of just casting on the plane. In user terms: the motion on screen of the selection follows the motion of the mouse pointer.
Martin Poirier
2005-02-27 19:14:21 +00:00
db892de35fUpdates to NMesh doc contributed by Campbell Barton. Corrections and useful user-oriented hints.
Stephen Swaney
2005-02-27 15:15:39 +00:00
f45ef42736MSVC7 project files link to lib/windows/freetype once again
Joseph Gilbert
2005-02-25 23:09:11 +00:00
f33b71bcbdRemoved freetype project from extern solution
Joseph Gilbert
2005-02-25 21:24:50 +00:00
76500cd1edTransform; correct inverse parent implementation for translating children
Ton Roosendaal
2005-02-25 19:01:13 +00:00
bca210bc04Update on Add Text as lines:
Johnny Matthews
2005-02-25 17:48:06 +00:00
b334be110dNew transform:
Ton Roosendaal
2005-02-25 17:40:03 +00:00
e13933bc7cAdded include sys/vfs.h for hpux was in the patches tracker.... and cleaned up the include for dirent.h
Kent Mein
2005-02-25 14:50:57 +00:00
8ff9af5609Transform: gesture for 'scale' did rotate, and viceversa. Typo :)
Ton Roosendaal
2005-02-25 12:48:23 +00:00
da00e25dffPreview render of stucci was wrong. Fix found+provided by Chris Burt. thnx!
Ton Roosendaal
2005-02-25 12:19:42 +00:00
4ee71094faAdded the "initgrabz()" call in new transform, this is needed to calculate correct mapping of mouse motion to a 3d vector in perspective mode, e.g. corrected for depth.
Ton Roosendaal
2005-02-25 11:55:03 +00:00
91fbe72115Transform project.
Ton Roosendaal
2005-02-25 11:35:24 +00:00
5519157c86This is an initial commit for inserting a text file as one 3d text object per line. The function for making the objects aligned to the screen needs to be added, since right now it is aligning rotation to the screen but translation is not right since I am adding an offset to the non-viewport location of the objects. That offset just needs to be translated to screen first.
Johnny Matthews
2005-02-24 19:22:31 +00:00
386f390ab8- Transform works for Posemode again (after split of TransData in 2 parts) - error in scaling objects fixed (it accumulated scaling)
Ton Roosendaal
2005-02-23 14:19:41 +00:00
9f678340b5Fixed some bugs with Shear and Resize, was acting weird in object mode when parenting was involved.
Martin Poirier
2005-02-23 02:23:50 +00:00
b8aa04ed62Modified the sdl stuff so it is similar to the way the soundsystem does it. Was causing problems for people.
Kent Mein
2005-02-22 17:15:43 +00:00
118e4bcf7bTransform project. Daily update:
Ton Roosendaal
2005-02-22 16:50:04 +00:00
3cd546e484Patch submitted by Michael Reimpell - Adds NormalMap to python's list of Texture Image flags
Joseph Gilbert
2005-02-21 22:00:11 +00:00
34b61ee4e9-AngleBetweenVecs() was returning only 8-digit precision. This changes the precision to 16-digits and should fix some problems regarding spurious numbers being returned by python after running this function.
Joseph Gilbert
2005-02-21 18:26:53 +00:00
c2e6ced9b8- added "hide" flag for MetaElem. Hidden MetaElem doesn't influence polygonisation. It is useful for large scenes, when you work with lot of MetaElems. Example:
Jiri Hnidek
2005-02-21 10:40:30 +00:00
597da98a71Part of the MSVC7 update - MakesDNA vcproj was not linking to the proper libs for the 3D Plugin configurations
Joseph Gilbert
2005-02-21 05:12:14 +00:00
61767b4f48MSVC7 update and freetype2 source - Added correct .libs to be linked to GP_Ghost - Fixed incorrect library extensions for the linker (*.lib and not unix *.a) - Projects have been set to be multi-threaded - projects were being linked to different versions of the CRT - All projects are now linking to python 2.3 (this fixes an error regarding struct sizes in python) - Removed invalid source paths from inclusion for the compiler - Fix dependency issues with the GP_Ghost module - Proper .dll's are now being copied to their respective locations for debug and release version of blender/blenderplayer - Warnings have been set to level 2 - Import paths have been updated and organized for the compiler - Duplicate import paths for the compiler have been removed - Removed silly silly silly silly unix path-separators from window paths - Post-Build scripts have been updated where neccessary (XCOPY is retatined) - Fixed the output of various .lib files (PHY_Sumo and Yafray) - PHY_Sumo now uses a .pch - Removed #undef _DEBUG from debug builds :p - FTF_Font is now contains a debug build and is being set to it's correct output path - Blender/Blenderplayer/3DPlugin all linkto Debug libs where appropriate (instead of static release libs to avoid conflicts with the CRT) - Python23_d.dll is now loaded into a true debug output of both blenderplayer and blender debug builds - msvcrtd.dll is now loaded into a true debug output of both blenderplayer and blender debug builds - Post-builds now clean up their mess - ActiveX controller now builds - BlenderPlayer now builds - Internal libs now using .pch - Moved the build directory from /blender/obj to ../build/msvc_7/ to follow precedence with scons builds - Builds are now organized to follow precedence with scons builds with a /libs and a /intern /extern /source obj folders - Set the proper build path for opennl - Forcing BLO_loader source files to follow project defaults - Added an 'extern' project that mimics the /make build of the 'intern' project - Extern build includes solid and it's associated builds, ftgl, and freetype - Added .vcproj files to /extern directory - Added new extern.sln file to /extern directory - All project now link to the built solid.lib from the extern project instead of lib/windows - Removed uneeded XCOPYs commands from post-builds - Added conditional Directory building to post-builds - Freetype2 source commit (this is need for the building of a correct MFC linked version of the activeX controller as well as a correct release and debug build of the blender project) - Ftgl is built and linked by the 'extern' project - Intern/Extern project are now exporting their proper header files - PHY_Physics is now linking to the correct set of header files (in build path not source) - Makesdna builds object files into build directory now - Projects are now ignoring the CORRECT versions of the CRT's :) - Renderconverter is now outputting it's obj file to it's own directory instead of /render - Gen_system is now being built to ../kernel - BL_src_cre is now being built to /creator - *.exp and *.ilk are now being cleaned up from linkers - Libpng.dll and zlib.dll are now being copied to the /bin - MTDLL build are now available for the correct projects - ActiveX 3D Plugin now links correctly to solid and freetype2 - Corrected the Preprocessor #define that was labeled incorrectly in FTF_Font and Blender that was causing the FTGL libs to export dll calling conventions. - Changed the solution configurations to 3D Plugin Release, Debug and Blender Release, Debug for internal and external librarys - Changed the solution configurations to 3D Plugin Release, Debug and Blender Release, Debug for blender and added 2 new solutions configurations BlenderPlayer Release, Debug -
Joseph Gilbert
2005-02-20 21:33:11 +00:00
7ad68dd4a6Daily commit for transform() project, to prevent conflicts with Martin's work. :)
Ton Roosendaal
2005-02-20 19:00:00 +00:00
4e39c4361fMaking transform's code more Blenderish with a proper extern include file (BIF_transform.h) and extern function calls (BIF_*).
Martin Poirier
2005-02-20 01:25:10 +00:00
dcb41bfdcdActually done in previous commit; removed dreadful warp-pointer :)
Ton Roosendaal
2005-02-19 16:44:17 +00:00
09f21e45d7First commit for the transform coding for me!
Ton Roosendaal
2005-02-19 16:37:48 +00:00
e4d74575ccUsing border + OGL render is not supported, so renderwin should open normal size
Ton Roosendaal
2005-02-19 16:31:42 +00:00
d028bcf452Fix for Key alpha. Thanks to unifying code in render (unified and normal) we cannot insert colored pixels in sky for Key alpha anymore. Well, this was useless anyway! (BTW: error not in 2.36 release)
Ton Roosendaal
2005-02-19 13:04:23 +00:00
3f463dcc32Bugfix #2228
Rob Haarsma
2005-02-19 10:46:52 +00:00
f25061c448- user can interactively choose, what part of window will be splited - change direction between horizontal and vertical split, to change the split push TAKBEY or MIDDLEMOUSE (patch offered by Guillaume) - I captured short video, which demonstrates new functionality:
Jiri Hnidek
2005-02-18 19:48:12 +00:00
8c4608bbf4I updated the FREETYPE2 checks so it didn't build freetype stuff if WITH_FREETYPE2 was set to false.
Kent Mein
2005-02-18 16:52:03 +00:00
f24c823f77Little test commit for slikdigit. Moves mouse pointer to center of transformation on grabs init. Easier to select a constraint axis with MMB this way. This is testing only and very hackish (couldn't find a proper way to get a screen's global coordinates offset).
Martin Poirier
2005-02-18 01:34:38 +00:00
3d0780d3ecModified version of Chris Burt's fix for border render with invalid border selected.
Kent Mein
2005-02-17 18:08:39 +00:00
6bc5b5a1f9Chris Burt's fix for bug #2245 (Puts good data in a tooltip that was a copy of another one and didn't make sense)
Kent Mein
2005-02-17 16:50:23 +00:00
47239d8ac1A Couple of Small Fixes for Edge Rotate
Johnny Matthews
2005-02-17 14:09:05 +00:00
0324fc10b1This commit adds rotate edges Clockwise and CounterClockwise to the Edge Specials Menu (and of course the code to back them up)
Johnny Matthews
2005-02-16 15:02:58 +00:00
b7eaee3ad2BPython bug fixes: -- Ton caught a redraw trying to free a busy slider button in a script. Made sure the redraws don't happen in the scripts win during slider updates, but the realtime slider (automatically updates the 3d view) isn't working yet as it probably shouldn't with the current code. There's a pre 2.25 comment in Draw.c about it being hackish and wrong; -- Melchior FRANZ reported a bug related to a script dict being freed too early (when two instances of the same script were on: one with a gui and the other with a file selector -- selecting the file triggered the problem); -- bug #2074 reported by Roland Hess: totally empty string button -- no prepended but->str (e.g. "OB:") neither but->poin (the actual string) -- crashing Blender. Crash happened on editscreen.c: screen_delayed_push_undo calls strncpy() without checking the passed string. Didn't mess with it, better let the coder in charge of undo (Ton, right?) choose a preferred way to deal with it (report error, simply use blank string). Staying on the python side at least for now, I just made but->str = " " (a space) when user doesn't define it, so the crash shouldn't happen anymore.
Willian Padovani Germano
2005-02-16 03:32:57 +00:00
427ff274a2Joseph Gilbert's fixes for the linux2 build target.
Kent Mein
2005-02-15 13:06:08 +00:00
09fdbdc744Fix compile errors for MSVC
Kester Maddock
2005-02-15 10:02:19 +00:00
af03f9b798Not all flags and such were copied to new faces in edge rotate - should fix bug 2139
Johnny Matthews
2005-02-14 20:14:10 +00:00
3d241fd6ccSmall fix for new transform commit, scons complains about missing imagepaint.c. This file is only in tuhopuu.
Brecht Van Lommel
2005-02-14 15:19:55 +00:00
c334c00995To compile the new transform code with make, add the following to user-def.mk:
Chris Want
2005-02-14 03:12:12 +00:00
28902e9334MSVC 6.0 projectfile changes to go with last commit.
Martin Poirier
2005-02-14 02:56:15 +00:00
d2f4ba4549Initial new transform commit. Disabled behind defines. Uncomment //#define NEWTRANSFORM in transform.h to enable.
Martin Poirier
2005-02-14 02:53:36 +00:00
923a9a0b03Vertex group support in Apply_Def. If subsurf is off on the original mesh, copies groups AND weight. If not, only copies weight.
Martin Poirier
2005-02-14 01:26:07 +00:00
873a248522Fix for mipmap userpref button. (it was using the wrong userpref value).
Rob Haarsma
2005-02-12 21:19:25 +00:00
bc3329e49f<strings.h> is not defined on Win32 systems
Joseph Gilbert
2005-02-12 17:11:57 +00:00
4bd1fe7eabThe opennl vcproj was not copying ONL_opennl.h to the lib\windows\opennl\include directory
Joseph Gilbert
2005-02-12 16:36:49 +00:00
9cbf39e478Fixed annoyance with opion "DispView" and Border render. It now displays the rendered pixels in the indicated border nicely.
Ton Roosendaal
2005-02-12 16:05:40 +00:00
b7d5f62e04Added (but recoded) patch submitted by Chris Burt to have render window opened in size of actual border, if option "Crop" is set.
Ton Roosendaal
2005-02-12 15:41:07 +00:00
43310097c9Second version of fix for display of all scanlines in preview render for wacko 3d cards... now it draws 5 scanlines in a time, with first being drawn double.
Ton Roosendaal
2005-02-12 14:15:08 +00:00
d1050d4ae6Bug fix#2202
Ton Roosendaal
2005-02-12 13:46:12 +00:00
efcaf76514Potential fix for #2177, scanline display errors on some gfx cards for the preview render in buttons window. Solution is to draw 4 lines at once, instead of 2. glPixelZoom then has a wider range to display without rounding errors, I hope. Is going to be verified stil...
Ton Roosendaal
2005-02-12 13:12:40 +00:00
66736db301Bug 2057
Ton Roosendaal
2005-02-12 12:06:30 +00:00
5af05c9610Update to the MSVC7 project files (vcproj) for Blender's internal libraries - set build_install_all as the default project (if you give me a quarter ill tell you how :) - set SoundSystem to it's proper dependencies - updated those silly silly unix path separators - set project warning levels to something not so noisy
Joseph Gilbert
2005-02-12 02:06:52 +00:00
34977b8937BPython: - applied Campbell Barton's patch for access to Oops location and selection of materials, mesh data and objects, slightly modified. Thanks, Campbell; - got rid of warnings in many files, hopefully not introducing any other during the process. Mostly this was done: 1) new EXPP_incr_ret_True/False functions were added and used instead of "Py_INCREF(Py_True/False); return Py_True/False;". Currently at least the functions use the fact that PyTrue/False == 1/0 and use 1 and 0 to avoid the warnings. 2) Filling of certain types structs got 0's added for all not defined data and methods. This is surely Python version specific, since these structs can change size and content at each major version number Python update.
Willian Padovani Germano
2005-02-09 15:53:35 +00:00
955d5aa6ebBug fix#2220
Ton Roosendaal
2005-02-08 16:31:39 +00:00
2d356a79e0Accidentally committed drawing editmode disregarding layer state. Brought back to how it always worked.
Ton Roosendaal
2005-02-08 16:25:20 +00:00
5714ab5d65Parkinson bug! A & accidentally became &&... Error caused exceptions for ortho render to be active always... making some frontfaces and backfaces mixupped.
Ton Roosendaal
2005-02-05 16:35:19 +00:00
3ede12b115BPython: - NMesh: added face.sel and face.hide attributes to NMFaces, to set / get selection and visibility state of faces as they appear in edit mode. - doc updates, including the right fix to two edge related methods, thanks to Stephane Soppera for pointing it (my fault, Stephane).
Willian Padovani Germano
2005-02-03 03:04:32 +00:00
d0aa7eac41support for new SDL build in makefiles and scons for Os X
Jean-Luc Peurière
2005-02-02 22:13:23 +00:00
8d305e9af6Fixed error in having Ztransp rendered in back of normal solid faces. Was caused by changing definition of OSA pixel structs 3 weeks ago. (result: AA looked bad).
Ton Roosendaal
2005-02-02 17:26:24 +00:00
b694631807Fixed typo Latice...
Kent Mein
2005-02-02 14:08:18 +00:00
41b251fab0BPython: - Fix related to bug #2157: crash in Blender.Image.image.reload() method. "G.sima" was not being checked for validity. Fix by Joilnen B. Leite (pidhash). Thanks! http://projects.blender.org/tracker/?func=detail&atid=125&aid=2157&group_id=9 - Added optional argument to Blender.Object.object.getData() method: getData(only_name = True) or (only_name = 1) or (1) will return only the obdata name, not a wrapper for the given struct. This is a test based on a request by Campbell Barton who submitted code for his proposed .getDataName() method (thanks!). - doc updates and small fixes.
Willian Padovani Germano
2005-02-02 03:38:31 +00:00
78f133b8a7Bug found by Bassam; in certain occasions reading a file calls setscreen() without the (ugly) global curarea being set. Fixed the crash in his sample by nicely passing on 'current area' as argument.
Ton Roosendaal
2005-01-31 18:37:54 +00:00
732f608e33Doing the hotkey modifiers for select non-manifold the Ton way.
Chris Want
2005-01-30 21:33:12 +00:00
4d17f9797c- updated MSVC 6 projectfiles. - removed 'using namespace std;' from SCA_Joystick.h (gave compile error on VC6).
Simon Clitherow
2005-01-30 15:41:59 +00:00
fa2a1c84c7Bug fixes;
Ton Roosendaal
2005-01-30 15:40:42 +00:00
c94ec03a9eBug fix (from own collection)
Ton Roosendaal
2005-01-30 13:13:31 +00:00
996374bb5aFixed old annoyance; enabling true Ortho render in Blender.
Ton Roosendaal
2005-01-30 11:25:27 +00:00
3180afe2cfCorrecting the logic of the hotkey modifiers for select non-manifold. If you want it so all three modifiers are needed (e.g. ctrl-alt-shift-MKEY) use:
Chris Want
2005-01-29 21:34:45 +00:00
a238e7b9f4Fix to get gcc 3.4.1 with scons working again.
Kent Mein
2005-01-25 19:26:19 +00:00
c153a593acbugfix: #2117 Overflow in Armature.Bone.setName()
Stephen Swaney
2005-01-25 06:05:17 +00:00
1b1ff7ea92Fixed the Makefiles so the Joystick stuff works.
Kent Mein
2005-01-24 16:16:50 +00:00
bfba62e59eAdded a color picker and a 'Set VertCol' button to the Texture face panel, so the color of faces can be set in Uv Face Select Mode. Patch provided by Carsten Wartmann (moved the buttons, and removed the rgb sliders).
Brecht Van Lommel
2005-01-24 15:33:13 +00:00
e44b07d828Added color filtering for raytrace transparency.
Ton Roosendaal
2005-01-24 14:08:06 +00:00
93319a28a8fix some undeclared parameters
Stephen Swaney
2005-01-23 20:32:34 +00:00
7f4f5deac4Separated some variable declarations from the code, for wider compiler support.
Yann Vernier
2005-01-23 20:15:06 +00:00
79c4e8a247Changes Mathutils.Vector() to be less picky about its argument(s).
Yann Vernier
2005-01-23 17:04:02 +00:00
8d0ef2163dThis should make the Texture stype attribute work for EnvMaps.
Yann Vernier
2005-01-23 16:32:51 +00:00
413e4f51a6Make the KX_PolygonMaterial Python member variables writable.
Kester Maddock
2005-01-23 01:40:37 +00:00
d21b9be9a8Don't delete the Python Controller's private dictionary between frames.
Kester Maddock
2005-01-23 01:38:41 +00:00
a572d196e6Don't fail on mesh objects with no faces.
Kester Maddock
2005-01-22 23:46:54 +00:00
1da3b9f517BPython: - Stephane Soppera added long missed support for edge data in Blender.NMesh + related doc; - Michael Reimpell improved script registration (fixes bug report #2160) and the file and image selectors in Blender.Window (improved with suggestions from Yann Vernier). They now suppport methods as callbacks; - World.get/setMode were not registered, so could not be directly called (reported by Ken Hughes). Still needs some work to improve things, including docs.
Willian Padovani Germano
2005-01-22 02:48:03 +00:00
5822d4601dfixed animations using jpeg (bug # 2166)
Kent Mein
2005-01-21 17:50:11 +00:00
136ecd4644Modified interface texture font support, which should work nicely with the freshly added bFTGL library. Also removed some redundant #include's on some files.
Rob Haarsma
2005-01-21 14:48:03 +00:00
465b15eb69Modified FTGL for proper texturefont support. Also fixed msvc6 (release only) projectfile to build and output correctly.
Rob Haarsma
2005-01-21 14:43:21 +00:00
64ef688695Added some extra comments about creating a new image format.
Kent Mein
2005-01-21 13:02:14 +00:00
1f394a8e0cBug fix 2116
Ton Roosendaal
2005-01-21 12:46:59 +00:00
8c271d7acbBug 2162
Ton Roosendaal
2005-01-21 11:07:35 +00:00
26f63bfa19Added bFTGL to extern and updated the Makefiles. I'm guessing there will need to be tweaks but it seems to work on my linux box. I haven't touched any of the other build systems so those will need to be done.
Kent Mein
2005-01-21 05:15:33 +00:00
b561ca88cfReading .blend from runtime closed file handle twice... seemed to crash in windows? Weird, was a commit from april last year (Nathan) and nobody has reported errors. (bug report 2155)
Ton Roosendaal
2005-01-20 10:33:11 +00:00
9fddd2bdecAdded experimental option to use GL textured interface fonts. Set preferred method in userprefs->language & font. Kinda requested by Kaito, i'm sure he regrets after seeing my code changes.
Rob Haarsma
2005-01-19 13:53:43 +00:00
731c69d6edMelchior FRANZ's patch to allow the normal +- to work with border select. Currently it doesn't conflict with anything and I think it makes sense.
Kent Mein
2005-01-19 13:01:49 +00:00
d32f4a2851Jacques patch to get things compiling on windows. basically it returns NULL for two functions that had their entire body commented out.
Kent Mein
2005-01-19 12:53:47 +00:00
92586e1ee2Using halo (particle) render with OSA and gauss had error.
Ton Roosendaal
2005-01-18 18:31:18 +00:00