Age | Commit message (Collapse) | Author |
|
Bugfix: key curve names compared using strncmp instead of strcmp,
resulting in wrong comparisons.
|
|
the info text in file window sometimes displayed in wrong scale.
Moved order of drawing to ensure this cannot happen.
|
|
- removed obvious typo after #include
- put back include for using EXPP_check_sequence_consistency and EXPP_ReturnPyObjError
|
|
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 :)
|
|
epydoc links and updated BPyMesh NGon function
|
|
commits to come, moving from mathutils.
|
|
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...
|
|
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
|
|
Global undo didn't restore correctly the camera in unlocked 3d views.
("Lock" icon option next to layer buttons)
|
|
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.
|
|
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.
|
|
Environment mapping on channel "Mirror color" didn't support stencilling.
|
|
ob.join() fixed and tested, memory dosent increse when used in a large loop.
|
|
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!
|
|
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. :)
|
|
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.
|
|
reserved for field and blur steps, but never used or printed.
|
|
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.
|
|
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).
|
|
The objects were returned properly, however the repr() method was
printing "" making it look like the Get() failed."
|
|
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.
|
|
|
|
|
|
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!
|
|
the right way for regular builds... only the 'make release' did it OK.
|
|
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.
|
|
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.
|
|
Another fix in scanfill. A really old one... probably over 5 years.
Fill crashed when there were loose edges that were zero sized.
|
|
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.
|
|
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!
|
|
blender doubles the aspect ratio. This is now taken into account.
|
|
Added "Composite Preview" option in ImageWindow menu, with hotkey note.
|
|
Render option "Key Alpha" did not work yet.
|
|
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).
|
|
- 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.
|
|
Added pointer check to newly added code for this bugfix.
|
|
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.
|
|
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
|
|
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)
|
|
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!
|
|
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.)
|
|
|
|
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.
|
|
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.
|
|
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;
|
|
Added reminder in addCurve() doc for how to determine valid Key IPO curve
names.
|
|
corresponding keyblock.
|
|
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.
|
|
buttons preview work. :)
The initialize of the variable should be in the initialize code, not in the
freeing code, tsk tsk!
|
|
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.
|