Age | Commit message (Collapse) | Author |
|
dynmamic objects.
The velocity is also reset to 0, which makes sense after forcing a dynamic object position.
Known issues:
- in interactive mode, changing an object position by rna causes a simulation step
- setting any part of the object position or orientation causes the full matrix to be applied to physics => missing true rigid body API
|
|
without frame change but running physics.
Interactive button added on time line.
|
|
Note: bug was caused by use of legacy ob->flag & SELECT. New OB_PHYS_MOVING
flag to mark that an active object is being transformed.
Make active object position update independent of cache write in preparation
of interactive physics.
|
|
|
|
|
|
Only tag UV's as needing an update.
Also correct notifier for region redraw.
|
|
Add BKE_mesh_batch_cache_dirty_tag option for resetting UV's.
|
|
|
|
Non-undo actions would move the redo panel into a different space.
|
|
|
|
|
|
Word order was swapped from all other operators.
|
|
Was showing redo panel for cursor & selection operators.
|
|
This isn't valid RST.
|
|
The changes are:
- The shader now is passed as a parameter of the batch `draw` method (batch.draw(shader)). Since the batch always has to set a shader before drawing;
- The batch methods to specify a value to a uniform have been removed. Uniforms are parameters of the program (here called shader). If you change a uniform, it changes in all batchs that use the same program;
- New methods were added to set uniforms by the shader;
- The `batch.program_set_builtin` was removed. It is a duplicate of `program_set` but without a shader object. We need the shader object to configure the uniform;
Differential Revision: https://developer.blender.org/D3752
|
|
Instead of showing the transform handles for all selections,
move this functionality into a tool as done for the 3D view.
|
|
|
|
|
|
|
|
Image toolbar now starts with a single column width
and snaps to button increments.
|
|
Avoid accessing object mode via the view layer active object
when drawing since it's done everywhere we store the active object mode
in the draw-context.
|
|
|
|
|
|
These duplicate existing menu items.
|
|
The cursor is used as location to draw new stroke
|
|
The 3D Cursor, origin and dummy are hidden depending of the mode to get a cleaner drawing space.
|
|
|
|
|
|
Now it's possible create rectangular shapes and disable the subdivisions to get only a rectangle
|
|
|
|
|
|
|
|
|
|
The problem is that string width computing is performed in integers
(pixels), which can generate a rather annoying error (a few pixels)...
Simply work around that for now, by trimming an extra middle char when
needed.
|
|
`to_strlen` just benefits from using pre-computed kerning table for
ascii chars (gives about 30% speed improvements).
`to_rstrlen` was re-written and heavily simplified, basically using same
logic as `to_strlen`, and `BLI_str_find_prev_char_utf8()` to loop
backward in the string, instead of looping forwards the whole string,
storing each gliph's width in temp array, and looping backward on that
temp array to find final string matching expected width. Gives about 70%
speed improvements!
And both functions can now share their core logic.
|
|
|
|
Correct the outline blending for alpha 0 background.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
With new jemalloc versions memory allocated by threads that then become
inactive is not longer automatically freed. Instead we have to enable a
background thread to do it.
Some testing is needed to find out of this is sufficient, because the
background thread only runs periodically.
|
|
This parameter allows to define the percentage of offset of a stroke when uses surface mode.
Before, this was a fixed value, but for some artists' purposes, it's good to have the option to change it.
|
|
Users can select the main unit they want to use now.
Previously the displayed unit always depended on the magnitude of the value.
The old behavior can be restored by switching to the "Adaptive" mode for length, mass and time units.
Meters, kilograms and seconds are the default units for new and old scenes.
The selected unit is also the default unit for user input.
E.g. if cm is selected, whenever the user inputs a unitless number into a field of type length, it will be interpreted as cm.
Reviewer: brecht
Differential: https://developer.blender.org/D3740
|
|
Currently some modes share tool keymaps, we might want to disable
this since it's confusing editing one thing in multiple places.
However this should be resolved in the tool definitions.
|
|
Holding Alt now disables.
|
|
|
|
Transform the gizmo's drawing function into a generic function for use in other parts of the code.
|