Blender Git Commit Log

All Blender Git commits.

Page: 4583 / 8462

December 12, 2015, 13:30 (GMT)
Fix: Delete tagged GPencil stroke points now adjusts timing info

gp_stroke_delete_tagged_points() now adjusts timing data for stroke points
to ensure that all the timing info will be valid after creating the new
stroke segments (from splitting the original stroke).

Several other tools need to be modified to do this still (e.g. Copy and Duplicate)
December 12, 2015, 11:45 (GMT)
GPencil: Code cleanup - Moved logic for removing selected/tagged points from strokes into a separate function
December 12, 2015, 11:40 (GMT)
New data type for constant (!) strings.

The const-ness is very important: strings are only stored as const char*
on the stack, which point to memory inside the instructions list.
The instructions contain the actual char array, with a null terminator.

This does not allow allocating new strings during eval, but it makes
it possible to use static strings as identifiers and keys for global data.
Eventually we could allow string operations through an allocation system
similar to DerivedMesh handling, with init/release nodes to manage
alloc/free.
December 12, 2015, 10:56 (GMT)
Merge branch 'master' into object_nodes
December 12, 2015, 10:10 (GMT)
Fix T46958: NLA Editor's 'Add Modifier' button is the wrong size on Retina Display
December 12, 2015, 04:52 (GMT)
Compile fix for changes from master
December 12, 2015, 04:43 (GMT)
Merge branch 'master' into GPencil_Editing_Stage3

Conflicts:
source/blender/editors/transform/transform_manipulator.c
December 12, 2015, 04:10 (GMT)
Cleanup: style/spelling
December 12, 2015, 02:58 (GMT)
BMesh: editmode booleans ignored when no faces cut

For the intersect tool this made sense, but booleans can use cuts which overlap edges exactly.
December 12, 2015, 02:15 (GMT)
Correct error in last boolean commit

Side was flipped
Revision aae93ae by Arnaud Degroote / Jorge Bernal (master)
December 12, 2015, 01:46 (GMT)
BGE: Improve clock management

This patch improves clock management in BGE, to be able to accelerate /
slow the time, and also to finely synchronize clock with external
engines. Several new python functions have been added and existence ones
have been improved for that purpose. Now we have:

- getClockTime(): Get the current BGE render time, in seconds. The BGE
render time is the simulation time corresponding to the next scene that
will be rendered.

- getFrameTime(): Get the current BGE frame time, in seconds. The BGE
frame time is the simulation time corresponding to the current call of
the logic system. Generally speaking, it is what the user is interested
in.

- getRealTime(): Get the number of real (system-clock) seconds elapsed
since the beginning of the simulation.

- getTimeScale(): Get the time multiplier between real-time and
simulation time. The default value is 1.0. A value greater than 1.0
means that the simulation is going faster than real-time, a value lower
than 1.0 means that the simulation is going slower than real-time.

- setTimeScale(time_scale): Set the time multiplier between real-time
and simulation time. A value greater than 1.0 means that the simulation
is going faster than real-time, a value lower than 1.0 means that the
simulation is going slower than real-time. Note that a too large value
may lead to some physics instabilities.

- getUseExternalClock(): Get if the BGE use the inner BGE clock, or rely
or on an external clock. The default is to use the inner BGE clock.

- setUseExternalClock(use_external_clock): Set if the BGE use the inner
BGE clock, or rely or on an external clock. If the user selects the use
of an external clock, he should call regularly the setClockTime method.

- setClockTime(new_time): Set the next value of the simulation clock. It
is preferable to use this method from a custom main function in python,
as calling it in the logic block can easily lead to a blocked system (if
the time does not advance enough to run at least the next logic step).

Rationale are described more precisely in the thread
http://lists.blender.org/pipermail/bf-gamedev/2013-November/000165.html.

See also T37640

Reviewers: sybren, panzergame, #game_engine, lordloki, moguri

Reviewed By: sybren, panzergame, #game_engine, lordloki, moguri

Subscribers: moguri, hg1, sybren, panzergame, dfelinto, lordloki

Projects: #game_engine

Maniphest Tasks: T37640

Differential Revision: https://developer.blender.org/D728
December 11, 2015, 23:26 (GMT)
Code Cleanup: Move away from inlined math for the eraser tests
December 11, 2015, 17:30 (GMT)
Use the relative transform of target objects and the modified object to adjust modifiers.

This affects modifiers which use an external target object (currently
boolean and curve path). The modified object is a graph input argument,
which the target object is looked up via its key. The relative transform
means the values calculated from external geometry are always in the
modified object's local space.

Note that transform and its inverse are provided explicitly to nodes.
This will allow optimization for constants later on.
December 11, 2015, 16:26 (GMT)
Fix T46945: Mesh Deform binding to a cage object with modifiers is unreliable.

Binding code was re-building its own DM for the cage, now it uses given one instead.
I cannot see really any good reason not to use 'visual' modified cage for binding process,
using base mesh instead was breaking any 'advanced' binding as described in the report.
December 11, 2015, 15:24 (GMT)
Merge branch 'master' into object_nodes
December 11, 2015, 15:18 (GMT)
Fix for invalid void* to typed pointer assignment in bmesh when used in C++ code.

C++ does not allow the assignment of a void pointer to a typed pointer without
explicit casting. Since we use a generic macro in bmesh for iterators we only
ever get a void* back and cannot cast it to the target type. However, casting
the target to a void* as well solves that issue.

This tweak is #ifdef'd to be used in C++ code only.
December 11, 2015, 15:11 (GMT)
Boolean modifier node, based on the new bmesh boolean operations.
December 11, 2015, 14:30 (GMT)
Commend timing prints for boolean
December 11, 2015, 13:52 (GMT)
BMesh: boolean wasn't ignoring hidden faces

Needed for editmode use
December 11, 2015, 12:27 (GMT)
Some code cleanup - Using proper types in more places
By: Miika HämäläinenLast update: Nov-07-2014 14:18MiikaHweb | 2003-2021