Ton Roosendaal [Mon, 3 Jul 2006 19:50:53 +0000 (19:50 +0000)]
Mac intel commit
- patch from Douglas with endian fixes
- Makefile adds static libiconv.a from lib/
- this version will use OpenEXR libs from lib/ too, and is latest release
with threading support
- openAL is missing, added it as default to not include it
Ton Roosendaal [Mon, 3 Jul 2006 15:25:11 +0000 (15:25 +0000)]
Composite node "Separate RGBA" didn't do a typecheck.
Errors happened when inputting a Normal or Value buffer in this node.
Ton Roosendaal [Mon, 3 Jul 2006 12:18:14 +0000 (12:18 +0000)]
Bugfix #4586
TimeLine window; option [>>] (skip to next keyframe) crashed on actions
with NULL ipo pointers.
Ton Roosendaal [Mon, 3 Jul 2006 12:08:08 +0000 (12:08 +0000)]
Bugfix #4583
Shader Group nodes crashed on render... it was accidentally calling
composite free-buffer option.
Ton Roosendaal [Mon, 3 Jul 2006 11:53:52 +0000 (11:53 +0000)]
IRC report fix:
- Halos were not sorted, for ages! Meaning that they were rendered in order
of creation, instead of back to front.
- Made ESC testing for halo render to check per halo, is a fast routine now
anyway.
Ton Roosendaal [Mon, 3 Jul 2006 11:21:38 +0000 (11:21 +0000)]
Bugfix #4578
Images saved with "Save..." menu in Image Window ignored the RGB or RGBA
setting in Scene Output panel.
Also:
- changed menu in "Save As..." to indicate it can change type/name
- added proper info about image in properties panel (RGB, A, Z)
D.J. Capelis [Mon, 3 Jul 2006 10:00:56 +0000 (10:00 +0000)]
Correcting order for static linking.
Ton Roosendaal [Mon, 3 Jul 2006 09:49:12 +0000 (09:49 +0000)]
* Fix for Matt's fix!
The "generator" class for nodes then better completely disappears, also
from theme color choices menu. Since there was room for it, made the
generator themecolor to become color for 'Convertor' node types.
Campbell Barton [Mon, 3 Jul 2006 09:23:08 +0000 (09:23 +0000)]
missed a call in transform editmode active pivot to calculateCenter2D, now it works as expected.
Campbell Barton [Mon, 3 Jul 2006 07:20:19 +0000 (07:20 +0000)]
BeBraw noticed that canceling fly mode didnt return to Ortho mode. fixed
Campbell Barton [Mon, 3 Jul 2006 07:14:48 +0000 (07:14 +0000)]
BPyMesh getMeshFromObject was failing to copy the vert weights because is a dumb mistage within a try - Thanks lightbringer for finding the error
Matt Ebb [Mon, 3 Jul 2006 07:00:08 +0000 (07:00 +0000)]
* Fix: Shading nodes 'value' and 'RGB' were still set to the old node class
Generators' so they didn't appear in the add menu under 'Input' where they
should be.
Erwin Coumans [Mon, 3 Jul 2006 05:58:23 +0000 (05:58 +0000)]
debug lines / register the applied impulse for constraint (for breaking)
Campbell Barton [Mon, 3 Jul 2006 05:27:29 +0000 (05:27 +0000)]
fixed an error in DECREF'ing a variable that could have been null, also gave more helpfull error messages, thanks Theeth
Campbell Barton [Mon, 3 Jul 2006 05:05:28 +0000 (05:05 +0000)]
Lots of scripts are using Object.Get() where Scene.GetCurrent().getChildren() is what is needed.
When through and replaced the obvious ones but there are still a a few Id rather not touch without more about whats going on.
Did quite a few changes to export-iv also.
Campbell Barton [Mon, 3 Jul 2006 04:12:53 +0000 (04:12 +0000)]
Modernized radiosity i/o - better errors, optimized with LC's modifiers and matricies applied.
Campbell Barton [Mon, 3 Jul 2006 03:27:46 +0000 (03:27 +0000)]
remove this mesh cleaning function, have alredy added a new Mesh based one (as opposed to NMesh).
Campbell Barton [Mon, 3 Jul 2006 03:22:48 +0000 (03:22 +0000)]
Update to ply export, give nice messages to the user rather then throwing errors at the user.
Export mesh data with modifiers and objects matrix applied. export not only mesh data but text, nurbs etc (thanks to BPYMesh getMeshFromObject)
Small updates to ply import, dont set the TEX of a face (no pink faces anymore)
Campbell Barton [Mon, 3 Jul 2006 01:52:14 +0000 (01:52 +0000)]
added python 2.3 set importer for BPyMesh_redux
made ngon loop-reduce function faster by replacing dicts with sets
off_export has some errors, modernized the script.
added a python 2.3 reversed compat function - just uses ls[::-1]
Further 2.3 compat testing needed.
Campbell Barton [Sun, 2 Jul 2006 23:09:37 +0000 (23:09 +0000)]
Made geometrys polyfill work with all iterators (not just lists) and updated bpymeshes ngon to ignore polylines with <3 verts.
Ken Hughes [Sun, 2 Jul 2006 21:37:06 +0000 (21:37 +0000)]
===Python API===
Bugfix: key curve names compared using strncmp instead of strcmp,
resulting in wrong comparisons.
Willian Padovani Germano [Sun, 2 Jul 2006 19:50:30 +0000 (19:50 +0000)]
Scripts:
- Jean-Michel Soler (thanks!) pointed that the 3ds importer was missing
license info. Added a GPL license block copied from the 3ds exporter by
the same author.
Ton Roosendaal [Sun, 2 Jul 2006 19:32:48 +0000 (19:32 +0000)]
Beauty fix: if you use AA fonts in UI, and set 'texture draw' option,
the info text in file window sometimes displayed in wrong scale.
Moved order of drawing to ensure this cannot happen.
Andrea Weikert [Sun, 2 Jul 2006 19:00:49 +0000 (19:00 +0000)]
=== MSVC project files ===
- added new Geometry.c file
Andrea Weikert [Sun, 2 Jul 2006 18:59:40 +0000 (18:59 +0000)]
=== warnings cleanup ===
- removed obvious typo after #include
- put back include for using EXPP_check_sequence_consistency and EXPP_ReturnPyObjError
Ton Roosendaal [Sun, 2 Jul 2006 18:26:20 +0000 (18:26 +0000)]
Bugfix #4557
Report noted the slow icon renders for menus, which indeed is an issue,
especially when texture images need to be loaded (not to mention that
will eat up loads of memory).
Added a flag in scene to disable loading of images, makes it 50 times
faster, at least :)
Campbell Barton [Sun, 2 Jul 2006 15:28:28 +0000 (15:28 +0000)]
finish adding Geometry module, removed polyfill from mathutils, updated epydoc links and updated BPyMesh NGon function
Campbell Barton [Sun, 2 Jul 2006 15:25:37 +0000 (15:25 +0000)]
Adding new geometry module, at the moment it only contains polyfill.. more commits to come, moving from mathutils.
Ton Roosendaal [Sun, 2 Jul 2006 13:08:27 +0000 (13:08 +0000)]
Bugfix #4536
FTF_GetStringWidth() was calling for translations, whilst translation was
not set even, causing crashes in strings.
Probably this was instable for many cases using Internation Font...
Ton Roosendaal [Sun, 2 Jul 2006 12:46:41 +0000 (12:46 +0000)]
Bugfix #4556
When a curve guide animates, it doesn't correctly work on dynamic particles.
This because the guides work on a fixed starting position (the birth of
particle) and then defines a full path for the entire particle. It is clear
this was only coded with static particles in mind...
Nevertheless, I've added a line of code to at least put the curve guide
on correct location for the moment a particle gets born.
Report moved to the todo tracker; this should be a spec for particle recode
Ton Roosendaal [Sun, 2 Jul 2006 12:03:07 +0000 (12:03 +0000)]
Bugfix #4569
Global undo didn't restore correctly the camera in unlocked 3d views.
("Lock" icon option next to layer buttons)
Ton Roosendaal [Sun, 2 Jul 2006 11:47:27 +0000 (11:47 +0000)]
Bug #4568
No fix... the Object "TimeOffset" option to work on own ipo doesn't work
at all, not since NaN days. Enabling it is easy, but might screw up a lot
of previous saved files.
I moved that report to the todo, for a make-over of the entire internal
timing system. Added tooltip in button this option doesn't work.
Ton Roosendaal [Sun, 2 Jul 2006 11:21:06 +0000 (11:21 +0000)]
Bugfix #4565
Curves without bevel/extrude don't react to buttons to fill front/back.
That is coded that way, so added this info to the tooltip
Bug report #4566
Creases drawing became very awkward in commit in august last year. Flipped
the drawing order so the fat lines - denoting creases - are drawn first.
That way the value of crease is visible, as well as edge selection state.
Ton Roosendaal [Sun, 2 Jul 2006 10:42:29 +0000 (10:42 +0000)]
Bugfix #4564
Environment mapping on channel "Mirror color" didn't support stencilling.
Campbell Barton [Sun, 2 Jul 2006 10:37:24 +0000 (10:37 +0000)]
wasnt decref'ing items I got from PySequence_GetItem for PolyFill or ob.join() fixed and tested, memory dosent increse when used in a large loop.
Ton Roosendaal [Sun, 2 Jul 2006 10:36:26 +0000 (10:36 +0000)]
Bugfix #4563
Wave Modifier defaulted to Y waves, even when both X and Y buttons were
disabled. That case isn't very useful, nevertheless... if buttons allows it
then it should just work!
Ton Roosendaal [Sun, 2 Jul 2006 10:30:48 +0000 (10:30 +0000)]
Bugfix #4562
Another thread render issue, now in Image texture, the 'repeat' value was
still a global... how did I think that would ever work? Just forgot about
that one I guess. :)
Ton Roosendaal [Sun, 2 Jul 2006 09:56:41 +0000 (09:56 +0000)]
Bugfix #4561
Sequence renders, calling scenes with compositing, didn't execute composite
correctly. Confusement caused by the rule that a "Render" handle has same
name as Scene, which gives conflict for the case when a Scene has
sequencing with Scene strips with its own scene in it.
The previous solution for that conflict caused composite not to work. This
commit solves that, but it is still hackish. Main reason is the still
bad global G.scene, in use by compositor.
Campbell Barton [Sun, 2 Jul 2006 09:44:44 +0000 (09:44 +0000)]
More fixes to lightwave ngon filling, fallback to fan fill- ngon function has working optimized loop detection, uses PolyFill function.
LWO cheats by having multiply poly lines in 1, by doubling back on the line. BPyMeshes NGON function splits this into multiple NGons so PolyFill can fill properly.
Tested with 1711 LWO files - (2 had unreadable faces) 77meg and 103 OBJ files- all worked.
Ton Roosendaal [Sun, 2 Jul 2006 08:31:54 +0000 (08:31 +0000)]
Fix: While checking on render stats timer, I found there was already stats
reserved for field and blur steps, but never used or printed.
Ton Roosendaal [Sun, 2 Jul 2006 08:15:16 +0000 (08:15 +0000)]
bug #4559
Render timers were called in the internal render loops (tile processor),
they still had to be moved to the outer loop, so they include fields/blur
or sequencer render timing correctly.
Ton Roosendaal [Sun, 2 Jul 2006 07:59:42 +0000 (07:59 +0000)]
Bugfix #4558
Thread render error: a flag was stored in read-only data to indicate
whether top or bottom hemisphere of sky was rendered. That can't work
with tiles (but did work when scanlines were threads).
Campbell Barton [Sat, 1 Jul 2006 20:26:07 +0000 (20:26 +0000)]
Further tweaking to the scanfill stuff
Brecht Van Lommel [Sat, 1 Jul 2006 17:51:48 +0000 (17:51 +0000)]
Fix for bug #4425:
- Assert was causing blender to crash on non-manifold meshes with a decimation
modifier. Even in a debug build, there's no reason to crash blender then,
because the modifier handles this ok and displays a warning message.
Part of the problem is NDEBUG not being set in scons/linux for release builds,
but always enabled for makefiles even in debug builds.
Stephen Swaney [Sat, 1 Jul 2006 16:59:10 +0000 (16:59 +0000)]
bugfix for #4533 Text3d.Get() fails in retrieving Text3d objects
The objects were returned properly, however the repr() method was
printing "" making it look like the Get() failed."
Campbell Barton [Sat, 1 Jul 2006 15:29:04 +0000 (15:29 +0000)]
Added a scanfill wraper to Mathutils, allows you to fill polylines without using Meshes .fill() function.
Takes a list of polylines and returns a list of face index triplets.
Added this so using mesh.fill() could be avoided since it requires making an object, linking to the scene and cycling editmode for every NGon imported.
Since this is so close to release, It might be good if ken, willian or stivs takes a look at the function to make sure its ok. - Ran 100's of times for importing lightwave models but would be good to doublecheck.
Campbell Barton [Sat, 1 Jul 2006 12:03:44 +0000 (12:03 +0000)]
added an example of getting the worldspace matrix of a bone
Nils Thuerey [Sat, 1 Jul 2006 11:38:26 +0000 (11:38 +0000)]
Bug #4469: fixed particle-object button tooltip
Ton Roosendaal [Sat, 1 Jul 2006 10:02:26 +0000 (10:02 +0000)]
Bug #4552
Added extra security for fill faces. This function is being used for
importing now too, and it gets called for quite weird fill cases...
nevertheless, it should not crash!
Ton Roosendaal [Sat, 1 Jul 2006 09:40:13 +0000 (09:40 +0000)]
Totally ancient error: Makefiles for OSX did not copy the scripts in
the right way for regular builds... only the 'make release' did it OK.
Ton Roosendaal [Fri, 30 Jun 2006 19:29:57 +0000 (19:29 +0000)]
Bug #4550
AO option "Use Distances" does not work for colored AO, only for "Plain".
I've added this info in tooltip, and added event that resets the color
option for AO when "Use Distances" pressed.
Ton Roosendaal [Fri, 30 Jun 2006 18:00:23 +0000 (18:00 +0000)]
Bugfix #4545
In Editmode armature, the autocomplete for bone names used the bones from
the armature itself, not the edit data.
While fixing, also found out autocomplete for vertexgroup didnt work even.
Ton Roosendaal [Fri, 30 Jun 2006 16:07:50 +0000 (16:07 +0000)]
Bugfix #4544
Another fix in scanfill. A really old one... probably over 5 years.
Fill crashed when there were loose edges that were zero sized.
Campbell Barton [Fri, 30 Jun 2006 15:41:20 +0000 (15:41 +0000)]
Made BPyMesh's ngon a lot better- handels polylines that loop back on themselves, vert length edges and removes doubles (also slower :/ )
Lightwave importer uses this and also makes FGons from imported ngons.
Ton Roosendaal [Fri, 30 Jun 2006 14:21:25 +0000 (14:21 +0000)]
Hooray! Finally found the dreaded "Opengl crash" the poor orange team
suffered for the entire movie. :)
It only happened when rendering large frames, using a lot of memory and
typically when you also use other software in meantime.
Reason: the main thread does the drawing updating, while rendering is
still continuing. When using Ztransp, there was a free buffer done
when possibly a draw could still be in progress. Only crashed when drawing
is slow... explaining why it only showed up in more complex cases.
Ton Roosendaal [Fri, 30 Jun 2006 12:38:38 +0000 (12:38 +0000)]
Bugfix #4544
The 'edge fill' code failed on filling tiny small polygons. It has a limit
check for double points, which was hardcoded set to 0.0003.
That is (commented in code too) a weak part. Better would be to define a
bounding box first, and then derive the limit from that.
Further, the edge fill code uses blender EditEdge data, which fails when
the filling code removes edges. Certainly a topic to work on once, this
code is from the 80ies!
Campbell Barton [Fri, 30 Jun 2006 11:22:45 +0000 (11:22 +0000)]
NGon fan fill fallback had an error in the indicies it returned.
Further changes need to be added but theres a bug in Blender that prevents the NGon function from working.
https://projects.blender.org/tracker/index.php?func=detail&aid=4544&group_id=9&atid=125
Lightwave major update by Alessandro Pirovano (uaraus) intergrated with my changes.
Tested with ~ 500 models to import without throwing an error.
Added subsurf back, image loading fixes and removed meshtools dependancy
Alfredo de Greef [Fri, 30 Jun 2006 04:53:59 +0000 (04:53 +0000)]
bug #4532, when field rendering enabled in blender (not supported in yafray),
blender doubles the aspect ratio. This is now taken into account.
Andrea Weikert [Thu, 29 Jun 2006 18:33:34 +0000 (18:33 +0000)]
=== MSVC 7 project files ===
- removed edgeRender.c that doesn't exist an more
- removed not needed link dependencies odbc32.lib and odbccp32.lib from DNA_makesdna
Ton Roosendaal [Thu, 29 Jun 2006 17:35:27 +0000 (17:35 +0000)]
Bug #4537
Added "Composite Preview" option in ImageWindow menu, with hotkey note.
Ton Roosendaal [Thu, 29 Jun 2006 17:22:29 +0000 (17:22 +0000)]
Bugfix, IRC report:
Render option "Key Alpha" did not work yet.
Ton Roosendaal [Thu, 29 Jun 2006 13:46:39 +0000 (13:46 +0000)]
Bugfix #4530
Weightpaint fix.
Weight painting was recoded in 2.40 to support all features from vertex
paint. That code uses a 'soft' brush by default, which makes it impossible
to assign exact weight values on a single click (which used to be possible)
I've made that an option now, so you can disable it for single-click setting
of values on vertices within the brush (if 'use vertex distances' is
set, of course).
Ton Roosendaal [Thu, 29 Jun 2006 12:55:28 +0000 (12:55 +0000)]
Bugfix, own collection while testing:
- When saving image from Image Window, the extension was not added (with
the option 'add extensions' set, in Scene buttons output panel)
- Same situation, after a save the data-block Image name was still the old
one, also on 'reload' (in header and browsing menus). Confusing... so
when saving image under new name now also renames the Image block.
Ton Roosendaal [Thu, 29 Jun 2006 10:55:31 +0000 (10:55 +0000)]
Bugfix #4534
Added pointer check to newly added code for this bugfix.
Ton Roosendaal [Thu, 29 Jun 2006 10:48:30 +0000 (10:48 +0000)]
Bugfix #4535
A proper check for the error "No Camera" on rendering can only be made
after a renderwindow was initialized. The error menu then shows in the
render window, which appears to not work OK in windows ATI (again!).
So; I've moved the test to before the renderwindow is activated, this is
not a test checking on the entire render pipeline (like Composite nodes or
sequence strips). In case more complex setups cannot render, an error is
printed in the console only.
Ton Roosendaal [Thu, 29 Jun 2006 10:11:14 +0000 (10:11 +0000)]
Bugfix #4534
Small tweak in warning levels for buttons showing Library data.
- Material, panel "Links" did still allow to change some settings
- Material, panel "Texture" did not allow to view different channels
Ton Roosendaal [Thu, 29 Jun 2006 09:53:54 +0000 (09:53 +0000)]
Related to bugreport #4514
Debugging complex files with drivers is very hard... so I've added the
drivers now to show in Outliner too (under the Ipo).
Note that this works for Actions too, but only when the action is linked
to an Object directly.
(For a real diff you have check previous commit, I forgot to write a log
for that)
Ton Roosendaal [Thu, 29 Jun 2006 09:44:08 +0000 (09:44 +0000)]
Bugfix from own testing:
In outliner, the icons sometimes were drawing too large or too small.
Same happened in NLA, Action, Image window etc. And it happened
for "International fonts" when set to use 'texture drawing'.
Reason: the API call for setting icon size BIF_icon_set_aspect() was not
used consistantly. Sometimes it was set, sometimes not. And even worse,
for every icon drawn in UI buttons, the icon lookup had to be done twice
because of the aspect function.
Solved it by removing this call, and adding a new function:
BIF_icon_draw_aspect()
The old BIF_icon_draw() call now draws with aspect 1.0 always. The icons
code already had optimal checking for changed sizes, zo a change in aspect
won't result in much cpu overhead. Plus it saves calling icons lookup code,
which will make it all a bit faster.
Andrea: I've added this aspect function a long while ago, I think you also
like it better how it is now? Please check!
Campbell Barton [Thu, 29 Jun 2006 07:06:54 +0000 (07:06 +0000)]
Made lightwave import work with images by removing internal image loading wrapper and use BPyImage.comprehensiveImageLoad
Sped up with LC's for vert loading.
tried to removing meshtools as a dependancy, but cant do that everywhere.
Campbell Barton [Thu, 29 Jun 2006 06:04:21 +0000 (06:04 +0000)]
There are a few BPy functions that are documented to return a list but actually return tuples.
Blender.sys.splitext() raises an error if the path is longer then 80 chars. seems a bit short, noted this anyhow end added an example.
(hope its okay to do small doc corrections as I notice them.)
Campbell Barton [Wed, 28 Jun 2006 22:13:24 +0000 (22:13 +0000)]
slight change to the way the shift key works in fly mode.
Ton Roosendaal [Wed, 28 Jun 2006 20:06:48 +0000 (20:06 +0000)]
Bugfix #4515
Another outliner + buttonswindow select error:
When clicking on lamp icon, the buttons window shows material, not lamp
buttons. Same happened for F5key btw, when buttons were showing world.
Also fixed: when switching to world buttons with F8key, the preview was
not re-rendered.
Ton Roosendaal [Wed, 28 Jun 2006 17:59:36 +0000 (17:59 +0000)]
Bugfix #4528
In compositor you can mix RGBA and Value buffers freely, but with one
exception... the Composite (output) node!
This solves a crash when connecting a Alpha socket to RGBA input in
Composite node.
Andrea Weikert [Wed, 28 Jun 2006 17:46:46 +0000 (17:46 +0000)]
=== warnings cleanup ===
added missing includes for undefined symbols in windows release build
warnings:
creator.c(490) : 'libtiff_init' undefined;
transform_manipulator.c(237) : 'EM_editselection_center' undefined;
src\transform_manipulator.c(241) : 'EM_editselection_normal' undefined;
transform_manipulator.c(242) : 'EM_editselection_plane' undefined;
\python\api2_2x\Object.c(3658) : 'get_local_bounds' undefined;
Ken Hughes [Wed, 28 Jun 2006 17:27:07 +0000 (17:27 +0000)]
===Python API===
Added reminder in addCurve() doc for how to determine valid Key IPO curve
names.
Ken Hughes [Wed, 28 Jun 2006 17:13:39 +0000 (17:13 +0000)]
Bugfix #4516: Allow ipo.addCurve() to create Key IPO curve for a
corresponding keyblock.
Ton Roosendaal [Wed, 28 Jun 2006 14:29:57 +0000 (14:29 +0000)]
bugfix #4526
Depsgraph fix: the signal DAG_object_flush_update() should flush changes in
'data' to all object users of that data, not only in current scene.
Error was that switching scenes sometimes showed invalid derivedmesh data,
with bezerk drawing.
Ton Roosendaal [Wed, 28 Jun 2006 14:14:52 +0000 (14:14 +0000)]
Hurmf, the previous commit to solve proper 3D preview re-renders broke how
buttons preview work. :)
The initialize of the variable should be in the initialize code, not in the
freeing code, tsk tsk!
Ton Roosendaal [Wed, 28 Jun 2006 14:02:11 +0000 (14:02 +0000)]
Bugfix #4520
Boolean modifier allowed to be added after subsurf, but it doesn't support
that. Added "eModifierTypeFlag_RequiresOriginalData" flag to prevent this
from happening in UI.
Brecht Van Lommel [Wed, 28 Jun 2006 13:49:11 +0000 (13:49 +0000)]
Fix for bug #4523:
- Crash on collapse with subsurf modifier. Cause was a missing DAG update
when calling from the 3d view header menu.
There really should be some standard way to place these countall, DAG
update, redraw and undo push calls for editmesh tools, now they're in
random places in the editmesh and UI code.
Ton Roosendaal [Wed, 28 Jun 2006 12:53:57 +0000 (12:53 +0000)]
Campbell report:
Not clearing the value for 'parts rendered' caused 3d previewrender to
sometimes fail doing updates (when an escape happens during converting
render data).
Campbell Barton [Wed, 28 Jun 2006 04:53:19 +0000 (04:53 +0000)]
EpyDoc/Object: Added notes and updated the makeDisplayList example for new modifier stuff.
Jean-Luc Peurière [Tue, 27 Jun 2006 22:51:56 +0000 (22:51 +0000)]
added polish and coatian languages.
note that finish and russian ones are broken
Jean-Luc Peurière [Tue, 27 Jun 2006 21:48:54 +0000 (21:48 +0000)]
some of the .po file had empty msgids and multilline comments from
generator which were making garbage of some sub-menus.
generated fresh .mo files
added a missing copy in appit for Os X
Willian Padovani Germano [Tue, 27 Jun 2006 17:51:11 +0000 (17:51 +0000)]
BPython:
Bug #4484:
http://projects.blender.org/tracker/?func=detail&aid=4484&group_id=9&atid=125
A recent update to Draw.c made the button attr setter function not exit
where it should for one of the cases, when new and old strings had
same length (code was missing a "return 0;" line in one of the if
cases). Should work fine now, I don't get the error under linux anymore.
Also saw in the same function that a py object could be created but
was not being decref'ed in two other 'if' cases.
Thanks elbarto for reporting the bug.
Ton Roosendaal [Tue, 27 Jun 2006 16:54:24 +0000 (16:54 +0000)]
Bugfix #4505
Node Editor.
Fix for a fix: cleanup of abuse of uiBlock accidentally disabled the
feature that only makes Node buttons accessible when visible. This to
allow Nodes to overlap and properly used.
Campbell Barton [Tue, 27 Jun 2006 16:24:32 +0000 (16:24 +0000)]
Dont fly in linked library data.
Changed Ctrl for upright into 2 toggles, X and Zkeys enable uprighting of the camera for each axis. Uprighting is also simplified.
Stephen Swaney [Tue, 27 Jun 2006 15:54:37 +0000 (15:54 +0000)]
patch from Ralf Hölzemer (cheleb) for
#4499 Fix for build of blenderplayer on windows/mingw/scons
fixes some invalid cflags for gcc on windows/mingw/scons
-if sys.platform=='win32':
+if (sys.platform=='win32') & ( Environment().subst('$CC') != 'gcc'):
cflags = ['/GR']
Patch looks ok but no mingw evironment here to test.
So mingw/sconsers to your testing stations.
We can always roll back!
Campbell Barton [Tue, 27 Jun 2006 13:37:16 +0000 (13:37 +0000)]
The tab clickable area was a bit off (10px or so when zoomed in) now its a lot better though not 100% perfect abt 2-3px out.
Campbell Barton [Tue, 27 Jun 2006 13:26:00 +0000 (13:26 +0000)]
bugfix 4501
changed maximum length of the text entry to 399 to conform with Blenders limit.
Ton Roosendaal [Tue, 27 Jun 2006 13:13:49 +0000 (13:13 +0000)]
Bugfix #4446
Wire render crashes in Linux (only!), but why? Using a calloc instead of
malloc fixes it, but that doesn't solve the real issue in the code.
I can only imagine that bsearch() in linux has a completely different
implementation...
Anyhoo; let's commit the calloc, at least then we got stable wire render!
Ton Roosendaal [Tue, 27 Jun 2006 13:02:23 +0000 (13:02 +0000)]
fix #4503
Node Editor:
Using the popup menu of an unused vector input socket, used a callback
function that lacked proper checking for pointers.
Ton Roosendaal [Tue, 27 Jun 2006 12:54:16 +0000 (12:54 +0000)]
Bugfix #4502
A subsequent hotkey press like F5 now cycles through the sub-context in
buttons. However, this should not happen when clicking on Material icon
in outliner!
Jiri Hnidek [Tue, 27 Jun 2006 12:36:09 +0000 (12:36 +0000)]
bug fix:
- added one more countall() function
- undo works for (de)select all
- added empty line at the end of editmball.c
- added some comments
Ton Roosendaal [Tue, 27 Jun 2006 12:19:32 +0000 (12:19 +0000)]
Bugfix #4497
When using Node Shaders, the OpenGL color (solid drawmode) in 3d window
was still using the base Material only. That's a bit counter-intuitive
yes... i've replaced this with a function that checks for the active
material node color. Not perfect, but at least interactive.
Ton Roosendaal [Tue, 27 Jun 2006 12:01:33 +0000 (12:01 +0000)]
Bugfix #4495
Another old only-shadow material error: spot lights with ray-shadow still
calculated shadow on faces that were pointing away from the lamp.
Brecht Van Lommel [Tue, 27 Jun 2006 11:55:33 +0000 (11:55 +0000)]
Fix for bug #4496
- Toolbox select menu in faceselect mode was calling object mode
functions.
Ton Roosendaal [Tue, 27 Jun 2006 11:35:47 +0000 (11:35 +0000)]
Bugfix #4491
Sequencer: Image/Movie strips were printing in a 120 byte array, whilst
filepaths and names can go up to 240 now.
Ton Roosendaal [Tue, 27 Jun 2006 10:51:35 +0000 (10:51 +0000)]
Bugfix #4488
On file load, a Curve deformation was not initialized when it
wasn't in a visible layer.
Ton Roosendaal [Tue, 27 Jun 2006 10:28:00 +0000 (10:28 +0000)]
Bugfix #4475
Sequencer effect "Glow" did not work for float images (like render result).
Reason: threshold value for glow was still integer range.